don't reserve space in the header for the column image if there is none (patch 1225522)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -27,6 +27,7 @@ wxMSW:
|
|||||||
- Fixed wxSlider::GetSelEnd() (Atilim Cetin).
|
- Fixed wxSlider::GetSelEnd() (Atilim Cetin).
|
||||||
- Fixed accelerators of menu items added to already attached submenus.
|
- Fixed accelerators of menu items added to already attached submenus.
|
||||||
- Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates.
|
- Position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates.
|
||||||
|
- Handle absence of wxListCtrl column image better (Zbigniew Zag<61>rski)
|
||||||
|
|
||||||
wxWinCE:
|
wxWinCE:
|
||||||
|
|
||||||
|
@@ -2828,6 +2828,7 @@ static void wxConvertToMSWListCol(int WXUNUSED(col), const wxListItem& item,
|
|||||||
//
|
//
|
||||||
// we don't use LVCFMT_COL_HAS_IMAGES because it doesn't seem to
|
// we don't use LVCFMT_COL_HAS_IMAGES because it doesn't seem to
|
||||||
// make any difference in my tests -- but maybe we should?
|
// make any difference in my tests -- but maybe we should?
|
||||||
|
if ( item.m_image != -1 )
|
||||||
lvCol.fmt |= LVCFMT_BITMAP_ON_RIGHT | LVCFMT_IMAGE;
|
lvCol.fmt |= LVCFMT_BITMAP_ON_RIGHT | LVCFMT_IMAGE;
|
||||||
|
|
||||||
lvCol.iImage = item.m_image;
|
lvCol.iImage = item.m_image;
|
||||||
|
Reference in New Issue
Block a user