X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/324eeecb3cdc9522e136af6670443148772b412a..3b38e2a022d97b2afae69cb5f322f96a6a0140f3:/src/palmos/listctrl.cpp diff --git a/src/palmos/listctrl.cpp b/src/palmos/listctrl.cpp index 97de7a90a9..2fcaaebea4 100644 --- a/src/palmos/listctrl.cpp +++ b/src/palmos/listctrl.cpp @@ -17,11 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "listctrl.h" - #pragma implementation "listctrlbase.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -289,6 +284,12 @@ bool wxListCtrl::SetItemImage(long item, int image, int WXUNUSED(selImage)) return false; } +// Sets the item image +bool wxListCtrl::SetItemColumnImage(long item, long column, int image) +{ + return false; +} + // Gets the item text wxString wxListCtrl::GetItemText(long item) const { @@ -627,6 +628,14 @@ int wxListCtrl::OnGetItemImage(long WXUNUSED(item)) const return -1; } +int wxListCtrl::OnGetItemColumnImage(long item, long column) const +{ + if (!column) + return OnGetItemImage(item); + + return -1; +} + wxListItemAttr *wxListCtrl::OnGetItemAttr(long WXUNUSED_UNLESS_DEBUG(item)) const { // no attributes by default