]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarsmpl.h
Added default implementation for drawRect and mouse events that returns
[wxWidgets.git] / include / wx / tbarsmpl.h
index 3c602d915411ff2e22e91247f57843bcb91b895e..4e8976e08b220fe626628966f68746d34dcee657 100644 (file)
 #ifndef _WX_TBARSMPLH__
 #define _WX_TBARSMPLH__
 
-#if defined(__GNUG__) && !defined(__APPLE__)
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "tbarsmpl.h"
 #endif
 
 #include "wx/tbarbase.h"
 
-#if wxUSE_TOOLBAR_SIMPLE
+#if wxUSE_TOOLBAR && wxUSE_TOOLBAR_SIMPLE
 
 class WXDLLEXPORT wxMemoryDC;
 
@@ -164,7 +164,7 @@ protected:
 
 private:
     DECLARE_EVENT_TABLE()
-    DECLARE_DYNAMIC_CLASS(wxToolBarSimple)
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxToolBarSimple)
 };
 
 #endif // wxUSE_TOOLBAR_SIMPLE