X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d63b79352db5290a9f86428d193bd6a08ef32f..ad259ba5b263acd502b2bad4c73e58e00d353702:/include/wx/palmos/checklst.h?ds=sidebyside diff --git a/include/wx/palmos/checklst.h b/include/wx/palmos/checklst.h index c8da1bc164..caf994612e 100644 --- a/include/wx/palmos/checklst.h +++ b/include/wx/palmos/checklst.h @@ -12,16 +12,12 @@ #ifndef __CHECKLST__H_ #define __CHECKLST__H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "checklst.h" -#endif - #if !wxUSE_OWNER_DRAWN #error "wxCheckListBox class requires owner-drawn functionality." #endif -class WXDLLEXPORT wxOwnerDrawn; -class WXDLLEXPORT wxCheckListBoxItem; // fwd decl, defined in checklst.cpp +class WXDLLIMPEXP_FWD_CORE wxOwnerDrawn; +class WXDLLIMPEXP_FWD_CORE wxCheckListBoxItem; // fwd decl, defined in checklst.cpp class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase { @@ -60,13 +56,13 @@ public: const wxString& name = wxListBoxNameStr); // override base class virtuals - virtual void Delete(int n); + virtual void Delete(unsigned int n); virtual bool SetFont( const wxFont &font ); // items may be checked - virtual bool IsChecked(size_t uiIndex) const; - virtual void Check(size_t uiIndex, bool bCheck = TRUE); + virtual bool IsChecked(unsigned int uiIndex) const; + virtual void Check(unsigned int uiIndex, bool bCheck = true); // return the index of the item at this position or wxNOT_FOUND int HitTest(const wxPoint& pt) const { return DoHitTestItem(pt.x, pt.y); } @@ -89,7 +85,7 @@ protected: void OnLeftClick(wxMouseEvent& event); 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_EVENT_TABLE() DECLARE_DYNAMIC_CLASS_NO_COPY(wxCheckListBox)