X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/checklst.h?ds=sidebyside diff --git a/include/wx/checklst.h b/include/wx/checklst.h index 1d886ba4b0..80f08b37ec 100644 --- a/include/wx/checklst.h +++ b/include/wx/checklst.h @@ -12,6 +12,8 @@ #ifndef _WX_CHECKLST_H_BASE_ #define _WX_CHECKLST_H_BASE_ +#include "wx/defs.h" + #if wxUSE_CHECKLISTBOX #include "wx/listbox.h" @@ -35,7 +37,9 @@ public: virtual bool IsChecked(unsigned int item) const = 0; virtual void Check(unsigned int item, bool check = true) = 0; - DECLARE_NO_COPY_CLASS(wxCheckListBoxBase) + virtual unsigned int GetCheckedItems(wxArrayInt& checkedItems) const; + + wxDECLARE_NO_COPY_CLASS(wxCheckListBoxBase); }; #if defined(__WXUNIVERSAL__) @@ -51,7 +55,7 @@ public: #elif defined(__WXGTK__) #include "wx/gtk1/checklst.h" #elif defined(__WXMAC__) - #include "wx/mac/checklst.h" + #include "wx/osx/checklst.h" #elif defined(__WXCOCOA__) #include "wx/cocoa/checklst.h" #elif defined(__WXPM__)