]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/listbase.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / listbase.h
index 2117b3dc6485c43d625b84f9135e4d2ce11e9554..294c8bb27c4802c1464dc85922be52070d23e64a 100644 (file)
 #ifndef _WX_LISTBASE_H_BASE_
 #define _WX_LISTBASE_H_BASE_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 //    #pragma interface "listctrlbase.h"
 #endif
 
 #if wxUSE_LISTCTRL
 
+#include "wx/colour.h"
 #include "wx/font.h"
+#include "wx/gdicmn.h"
+
+#include "wx/event.h"
 
 // ----------------------------------------------------------------------------
 // types
@@ -394,7 +398,7 @@ public:
     wxListItem    m_item;
 
 private:
-    DECLARE_DYNAMIC_CLASS(wxListEvent)
+    DECLARE_DYNAMIC_CLASS_NO_ASSIGN(wxListEvent)
 };
 
 // ----------------------------------------------------------------------------