X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d63b79352db5290a9f86428d193bd6a08ef32f..c9ccc09c64f4c29d4667796bef7b507d9e8d25ed:/include/wx/palmos/checklst.h diff --git a/include/wx/palmos/checklst.h b/include/wx/palmos/checklst.h index c8da1bc164..ba593ba141 100644 --- a/include/wx/palmos/checklst.h +++ b/include/wx/palmos/checklst.h @@ -12,18 +12,14 @@ #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 +class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase { public: // ctors @@ -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)