X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef94bfc25eb21f1d3fa93b3d55c5a1ca18d8e62..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/gtk1/checklst.h diff --git a/include/wx/gtk1/checklst.h b/include/wx/gtk1/checklst.h index 3bd0b0f1c0..305ca0c386 100644 --- a/include/wx/gtk1/checklst.h +++ b/include/wx/gtk1/checklst.h @@ -18,17 +18,17 @@ // there is no "right" choice of the checkbox indicators, so allow the user to // define them himself if he wants #ifndef wxCHECKLBOX_CHECKED - #define wxCHECKLBOX_CHECKED _T('x') - #define wxCHECKLBOX_UNCHECKED _T(' ') + #define wxCHECKLBOX_CHECKED wxT('x') + #define wxCHECKLBOX_UNCHECKED wxT(' ') - #define wxCHECKLBOX_STRING _T("[ ] ") + #define wxCHECKLBOX_STRING wxT("[ ] ") #endif //----------------------------------------------------------------------------- // wxCheckListBox // ---------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxCheckListBox : public wxListBox +class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase { public: wxCheckListBox(); @@ -48,8 +48,8 @@ public: const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr); - bool IsChecked( int index ) const; - void Check( int index, bool check = TRUE ); + bool IsChecked(unsigned int index) const; + void Check(unsigned int index, bool check = true); int GetItemHeight() const;