]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
don't include headers not needed when wxUSE_GUI == 0
[wxWidgets.git] / src / generic / listctrl.cpp
index 1d6af59568770abed3640bc99a47430ec029aa11..e5b8353e680383170b40104011323fe5075f6d93 100644 (file)
@@ -4824,19 +4824,8 @@ bool wxGenericListCtrl::SetItemState( long item, long state, long stateMask )
     return true;
 }
 
-#if WXWIN_COMPATIBILITY_2_4
-bool wxGenericListCtrl::SetItemImage( long item, int image, int WXUNUSED(selImage) )
-{
-    wxListItem info;
-    info.m_image = image;
-    info.m_mask = wxLIST_MASK_IMAGE;
-    info.m_itemId = item;
-    m_mainWin->SetItem( info );
-    return true;
-}
-#endif
-
-bool wxGenericListCtrl::SetItemImage( long item, int image )
+bool
+wxGenericListCtrl::SetItemImage( long item, int image, int WXUNUSED(selImage) )
 {
     wxListItem info;
     info.m_image = image;