]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/checklst.h
Don't create multiple parent-less top level frames in layout sample.
[wxWidgets.git] / include / wx / checklst.h
index f7ec1a8762e8dacbe39cbfc0554849b66842e441..80f08b37ec4c5e4cb6e80ae224d1645408efd34c 100644 (file)
@@ -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__)