X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..15f0ad701496612df8c145e8e46d4b38515c0bbf:/src/palmos/checklst.cpp diff --git a/src/palmos/checklst.cpp b/src/palmos/checklst.cpp index 529d03b5c6..fe75aeae4d 100644 --- a/src/palmos/checklst.cpp +++ b/src/palmos/checklst.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "checklst.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -152,14 +148,14 @@ private: }; wxCheckListBoxItem::wxCheckListBoxItem(wxCheckListBox *pParent, size_t nIndex) - : wxOwnerDrawn(wxEmptyString, TRUE) // checkable + : wxOwnerDrawn(wxEmptyString, true) // checkable { } bool wxCheckListBoxItem::OnDrawItem(wxDC& dc, const wxRect& rc, wxODAction act, wxODStatus stat) { - return FALSE; + return false; } // change the state of the item and redraw it @@ -233,7 +229,7 @@ bool wxCheckListBox::Create(wxWindow *parent, wxWindowID id, // misc overloaded methods // ----------------------- -void wxCheckListBox::Delete(int N) +void wxCheckListBox::Delete(unsigned int n) { } @@ -262,12 +258,12 @@ bool wxCheckListBox::MSWOnMeasure(WXMEASUREITEMSTRUCT *item) // check items // ----------- -bool wxCheckListBox::IsChecked(size_t uiIndex) const +bool wxCheckListBox::IsChecked(unsigned int uiIndex) const { return false; } -void wxCheckListBox::Check(size_t uiIndex, bool bCheck) +void wxCheckListBox::Check(unsigned int uiIndex, bool bCheck) { } @@ -288,4 +284,3 @@ int wxCheckListBox::DoHitTestItem(wxCoord x, wxCoord y) const } #endif -