X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1d63b79352db5290a9f86428d193bd6a08ef32f..4960f9fc9aab2b2205197813c041ce0681c4df9b:/include/wx/palmos/checklst.h diff --git a/include/wx/palmos/checklst.h b/include/wx/palmos/checklst.h index c8da1bc164..0c28425e25 100644 --- a/include/wx/palmos/checklst.h +++ b/include/wx/palmos/checklst.h @@ -12,10 +12,6 @@ #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 @@ -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)