]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarsmpl.h
Call base OnInternalIdle
[wxWidgets.git] / include / wx / tbarsmpl.h
index 3c602d915411ff2e22e91247f57843bcb91b895e..b2522caca547e13182b25429273d43138246c290 100644 (file)
@@ -18,7 +18,7 @@
 
 #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