X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ef94bfc25eb21f1d3fa93b3d55c5a1ca18d8e62..ddadf560da7ec1d7477a40ed5b9277b6468dc5e7:/include/wx/gtk1/checklst.h?ds=sidebyside diff --git a/include/wx/gtk1/checklst.h b/include/wx/gtk1/checklst.h index 3bd0b0f1c0..e96e56a746 100644 --- a/include/wx/gtk1/checklst.h +++ b/include/wx/gtk1/checklst.h @@ -18,10 +18,10 @@ // 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 //----------------------------------------------------------------------------- @@ -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;