Add wxHD_BITMAP_ON_RIGHT style to wxHeaderCtrl
Implement this style for wxMSW to allow putting the column images on the right side, for consistency with wxMSW wxListCtrl. See #13350.
This commit is contained in:
@@ -314,6 +314,9 @@ void wxHeaderCtrl::DoInsertItem(const wxHeaderColumn& col, unsigned int idx)
|
||||
{
|
||||
hdi.mask |= HDI_IMAGE;
|
||||
|
||||
if ( HasFlag(wxHD_BITMAP_ON_RIGHT) )
|
||||
hdi.fmt |= HDF_BITMAP_ON_RIGHT;
|
||||
|
||||
if ( bmp.IsOk() )
|
||||
{
|
||||
const int bmpWidth = bmp.GetWidth(),
|
||||
|
Reference in New Issue
Block a user