title: wxlistctrl align column image on center
body: <p>As the title, I can't align an image to the center of a cell in a wxwidget listctrl. As in the attached image you can see the image is everytime aligned to the left. How can I put in the center?
  Thanks a lot in advance.</p>
  <p><a href="https://i.stack.imgur.com/TBl2K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TBl2K.png" alt="wxlistctrl cell alignment" /></a></p>
  <pre><code>    wxBitmap imgCheck(wxT(&quot;./immagini/checked.png&quot;), wxBITMAP_TYPE_PNG);
      wxBitmap imgUnCheck(wxT(&quot;./immagini/unchecked.png&quot;), wxBITMAP_TYPE_PNG);
      ...
      
      lstUtenti = new wxListCtrl(this,wxID_ANY, wxDefaultPosition, wxSize(780, -1), wxLC_REPORT|wxLC_SINGLE_SEL);
      ...
  
      wxImageList* imgCheckUncheck = new wxImageList(32,32);
      lstUtenti-&gt;AssignImageList(imgCheckUncheck, wxIMAGE_LIST_SMALL);
      int check = imgCheckUncheck-&gt;Add(imgCheck);
      int unCheck = imgCheckUncheck-&gt;Add(imgUnCheck);
      ...
      
      lstUtenti-&gt;AppendColumn(&quot;Notifiche&quot;, wxLIST_FORMAT_CENTRE);
      lstUtenti-&gt;AppendColumn(&quot;Eventi&quot;, wxLIST_FORMAT_CENTRE);
      ....
  
      lstUtenti-&gt;SetItem(0, 4, &quot;&quot;, unCheck);
      lstUtenti-&gt;SetItem(0, 5, &quot;&quot;, check);
  </code></pre>