]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toolbar.cpp
Commit mentioned fix/hack to enable controls
[wxWidgets.git] / src / motif / toolbar.cpp
index 2a75efa5b13dbab169ad2e3e486a3c4f7d8f9e08..4078d2eefef9a8410bc2266d6636ee343f7360ca 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "toolbar.h"
 #endif
 
@@ -53,7 +53,7 @@
 // ----------------------------------------------------------------------------
 
 #if !USE_SHARED_LIBRARY
-IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarBase)
+IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
 #endif
 
 // ----------------------------------------------------------------------------