X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/208458a7f59c7ba95a795597548fc8ae4be655cc..9869c26285dc51d13607cddaa04f65ce983653a5:/include/wx/os2/listctrl.h diff --git a/include/wx/os2/listctrl.h b/include/wx/os2/listctrl.h index 8aba96302b..8f7aee9904 100644 --- a/include/wx/os2/listctrl.h +++ b/include/wx/os2/listctrl.h @@ -1,10 +1,9 @@ /////////////////////////////////////////////////////////////////////////////// // Name: wx/os2/listctrl.h // Purpose: wxListCtrl class -// Author: +// Author: // Modified by: -// Created: -// RCS-ID: $Id$ +// Created: // Copyright: (c) wxWidgets team // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -20,11 +19,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(); } @@ -133,6 +132,10 @@ public: ,int nImage ,int lSelImage ); + bool SetItemColumnImage( long lItem + ,long lColumn + ,int nImage + ); // // Item text @@ -146,9 +149,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 @@ -305,7 +307,7 @@ public: // Edit the label // wxTextCtrl* EditLabel( long lItem - ,wxClassInfo* pTextControlClass = CLASSINFO(wxTextCtrl) + ,wxClassInfo* pTextControlClass = wxCLASSINFO(wxTextCtrl) ); // @@ -504,7 +506,7 @@ protected: // // Return the icon for the given item. In report view, OnGetItemImage will - // only be called for the first column. See OnGetItemColumnImage for + // only be called for the first column. See OnGetItemColumnImage for // details. // virtual int OnGetItemImage(long lItem) const; @@ -528,7 +530,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