X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb896a322a2ed53d393ee738765ddd3f72cee004..54aa3821fc7c1df012efc5e5dd4a09ab5ed8d90d:/include/wx/cocoa/checklst.h diff --git a/include/wx/cocoa/checklst.h b/include/wx/cocoa/checklst.h index 4286b1a3d6..1f00752868 100644 --- a/include/wx/cocoa/checklst.h +++ b/include/wx/cocoa/checklst.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_CHECKLST_H__ @@ -37,6 +37,16 @@ public: { Create(parent, winid, pos, size, n, choices, style, validator, name); } + wxCheckListBox(wxWindow *parent, wxWindowID winid, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxListBoxNameStr) + { + Create(parent, winid, pos, size, choices, style, validator, name); + } bool Create(wxWindow *parent, wxWindowID winid, const wxPoint& pos = wxDefaultPosition, @@ -45,6 +55,13 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListBoxNameStr); + bool Create(wxWindow *parent, wxWindowID winid, + const wxPoint& pos, + const wxSize& size, + const wxArrayString& choices, + long style = 0, + const wxValidator& validator = wxDefaultValidator, + const wxString& name = wxListBoxNameStr); virtual ~wxCheckListBox(); // ------------------------------------------------------------------------ @@ -56,8 +73,8 @@ protected: // ------------------------------------------------------------------------ public: // check list box specific methods - virtual bool IsChecked(size_t item) const; - virtual void Check(size_t item, bool check = TRUE); + virtual bool IsChecked(unsigned int item) const; + virtual void Check(unsigned int item, bool check = true); }; #endif // __WX_COCOA_CHECKLST_H__