X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/06db67bcb00b09ff12039bfa135068bb153ed806..e143fb636d50d5802dcc8c7c2e9e8e2944afa467:/include/wx/os2/listctrl.h diff --git a/include/wx/os2/listctrl.h b/include/wx/os2/listctrl.h index 03db69cf89..ddece5a697 100644 --- a/include/wx/os2/listctrl.h +++ b/include/wx/os2/listctrl.h @@ -20,11 +20,11 @@ #include "wx/textctrl.h" -class WXDLLEXPORT wxImageList; +class WXDLLIMPEXP_FWD_CORE wxImageList; typedef int (wxCALLBACK *wxListCtrlCompare)(long lItem1, long lItem2, long lSortData); -class WXDLLEXPORT wxListCtrl: public wxControl +class WXDLLIMPEXP_CORE wxListCtrl: public wxControl { public: wxListCtrl() { Init(); } @@ -150,9 +150,8 @@ public: // Item data // long GetItemData(long lItem) const; - bool SetItemData( long lItem - ,long lData - ); + bool SetItemPtrData(long item, wxUIntPtr data); + bool SetItemData(long item, long data) { return SetItemPtrData(item, data); } // // Gets the item rectangle @@ -532,7 +531,7 @@ private: DECLARE_DYNAMIC_CLASS(wxListCtrl) DECLARE_EVENT_TABLE() - DECLARE_NO_COPY_CLASS(wxListCtrl) + wxDECLARE_NO_COPY_CLASS(wxListCtrl); }; // end of CLASS wxListCtrl #endif // wxUSE_LISTCTRL