X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..77436c4cbac2269e564dc4fcf4494a58feca0af4:/include/wx/mac/checklst.h

diff --git a/include/wx/mac/checklst.h b/include/wx/mac/checklst.h
index fd6ad64785..73f9db890b 100644
--- a/include/wx/mac/checklst.h
+++ b/include/wx/mac/checklst.h
@@ -17,13 +17,11 @@
 #pragma interface "checklst.h"
 #endif
 
-#include "wx/listbox.h"
-
-#ifndef __MWERKS__
+#if !defined(__MWERKS__) && !defined(__UNIX__)
 typedef   unsigned int  size_t;
 #endif
 
-class wxCheckListBox : public wxListBox
+class wxCheckListBox : public wxCheckListBoxBase
 {
   DECLARE_DYNAMIC_CLASS(wxCheckListBox)
 public: