X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bb29edfaa28f769eb7ff007084e3f95ffe5b4037..c534e69669840e016d9e109356d8839302bb95db:/include/wx/generic/listctrl.h diff --git a/include/wx/generic/listctrl.h b/include/wx/generic/listctrl.h index 19e874c53e..a6931d490c 100644 --- a/include/wx/generic/listctrl.h +++ b/include/wx/generic/listctrl.h @@ -13,10 +13,10 @@ #include "wx/textctrl.h" -class WXDLLIMPEXP_CORE wxImageList; +class WXDLLIMPEXP_FWD_CORE wxImageList; #if wxUSE_DRAG_AND_DROP -class WXDLLEXPORT wxDropTarget; +class WXDLLIMPEXP_FWD_CORE wxDropTarget; #endif // ---------------------------------------------------------------------------- @@ -28,8 +28,8 @@ class WXDLLEXPORT wxDropTarget; // internal classes //----------------------------------------------------------------------------- -class WXDLLEXPORT wxListHeaderWindow; -class WXDLLEXPORT wxListMainWindow; +class WXDLLIMPEXP_FWD_CORE wxListHeaderWindow; +class WXDLLIMPEXP_FWD_CORE wxListMainWindow; //----------------------------------------------------------------------------- // wxListCtrl @@ -77,7 +77,8 @@ public: wxString GetItemText( long item ) const; void SetItemText( long item, const wxString& str ); wxUIntPtr GetItemData( long item ) const; - bool SetItemData( long item, long data ); + bool SetItemPtrData(long item, wxUIntPtr data); + bool SetItemData(long item, long data) { return SetItemPtrData(item, data); } bool GetItemRect( long item, wxRect& rect, int code = wxLIST_RECT_BOUNDS ) const; bool GetItemPosition( long item, wxPoint& pos ) const; bool SetItemPosition( long item, const wxPoint& pos ); // not supported in wxGLC @@ -232,7 +233,7 @@ protected: virtual wxListItemAttr *OnGetItemAttr(long item) const; // it calls our OnGetXXX() functions - friend class WXDLLEXPORT wxListMainWindow; + friend class WXDLLIMPEXP_FWD_CORE wxListMainWindow; private: // create the header window