X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb896a322a2ed53d393ee738765ddd3f72cee004..bc7a3ceebaed362ee622ed912c521486112b4040:/include/wx/cocoa/checklst.h diff --git a/include/wx/cocoa/checklst.h b/include/wx/cocoa/checklst.h index 4286b1a3d6..183363edc6 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__ @@ -17,7 +17,7 @@ // ======================================================================== // wxCheckListBox // ======================================================================== -class WXDLLEXPORT wxCheckListBox: public wxCheckListBoxBase //, protected wxCocoaNSTableView +class WXDLLIMPEXP_CORE wxCheckListBox: public wxCheckListBoxBase //, protected wxCocoaNSTableView { DECLARE_DYNAMIC_CLASS(wxCheckListBox) DECLARE_EVENT_TABLE() @@ -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__