]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/checklst.h
compilation warning (and possible bug) fix
[wxWidgets.git] / include / wx / mac / checklst.h
index 64514452fefbf10d6ff3abb4cb8ef9e5aee10a47..73f9db890b5dd86ca91b68729bb9e7a87cf6e274 100644 (file)
 #pragma interface "checklst.h"
 #endif
 
 #pragma interface "checklst.h"
 #endif
 
-#include "wx/listbox.h"
-
-#if !defined(__MWERKS__) && !defined(__MACH__)
+#if !defined(__MWERKS__) && !defined(__UNIX__)
 typedef   unsigned int  size_t;
 #endif
 
 typedef   unsigned int  size_t;
 #endif
 
-class wxCheckListBox : public wxListBox
+class wxCheckListBox : public wxCheckListBoxBase
 {
   DECLARE_DYNAMIC_CLASS(wxCheckListBox)
 public:
 {
   DECLARE_DYNAMIC_CLASS(wxCheckListBox)
 public: