]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/checklst.h
don't crash if (char*)c_str() is used twice in a row on the same string and both...
[wxWidgets.git] / include / wx / gtk1 / checklst.h
index a1766e7bb626198e0af027f1ac999716ab01ca9d..ba0368baae01f61f2c39725440ae3a2068f90928 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        checklst.h
+// Name:        wx/gtk1/checklst.h
 // Purpose:     wxCheckListBox class
 // Author:      Robert Roebling
 // Modified by:
@@ -48,11 +48,11 @@ 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;
-    
+
 private:
     DECLARE_DYNAMIC_CLASS(wxCheckListBox)
 };