X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef94bfc25eb21f1d3fa93b3d55c5a1ca18d8e62..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/gtk1/checklst.h diff --git a/include/wx/gtk1/checklst.h b/include/wx/gtk1/checklst.h index 3bd0b0f1c0..bf20d53f55 100644 --- a/include/wx/gtk1/checklst.h +++ b/include/wx/gtk1/checklst.h @@ -3,7 +3,6 @@ // Purpose: wxCheckListBox class // Author: Robert Roebling // Modified by: -// RCS-ID: $Id$ // Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -18,17 +17,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 +47,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;