X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/84882850e5e71939d541c1788b8446576a41ca30..c24fd8883fd563b85477fd71b70a52f34eebdd3e:/include/wx/os2/checklst.h?ds=sidebyside diff --git a/include/wx/os2/checklst.h b/include/wx/os2/checklst.h index c689208517..4ead4b063a 100644 --- a/include/wx/os2/checklst.h +++ b/include/wx/os2/checklst.h @@ -19,7 +19,7 @@ class wxOwnerDrawn; // so the compiler knows, it is a class. -class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase +class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase { public: // @@ -49,17 +49,15 @@ public: // // Override base class virtuals // - virtual void Delete(int n); + virtual void Delete(unsigned int n); virtual bool SetFont(const wxFont &rFont); // // Items may be checked // - bool IsChecked(size_t uiIndex) const; - void Check( size_t uiIndex - ,bool bCheck = true - ); + bool IsChecked(unsigned int uiIndex) const; + void Check(unsigned int uiIndex, bool bCheck = true); // // Accessors @@ -74,7 +72,9 @@ protected: virtual wxOwnerDrawn* CreateItem(size_t n); virtual long OS2OnMeasure(WXMEASUREITEMSTRUCT* pItem); - virtual void DoInsertItems(const wxArrayString& items, int pos); + virtual int DoInsertItems(const wxArrayStringsAdapter & items, + unsigned int pos, + void **clientData, wxClientDataType type); // // Pressing space or clicking the check box toggles the item @@ -83,7 +83,7 @@ protected: void OnLeftClick(wxMouseEvent& rEvent); private: - size_t m_nItemHeight; // height of checklistbox items (the same for all) + size_t m_nItemHeight; // height of checklistbox items (the same for all) DECLARE_DYNAMIC_CLASS(wxCheckListBox) DECLARE_EVENT_TABLE()