]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toolbar.cpp
Patch to make wxComboBox work in Toolbars.
[wxWidgets.git] / src / motif / toolbar.cpp
index 635f5439a5c88f6f10ded964a10a7f494b52647f..b38f1c392981d3fa859a3da2cc5b1a2519ec16e7 100644 (file)
     #pragma implementation "toolbar.h"
 #endif
 
+#ifdef __VMS
+#define XtDisplay XTDISPLAY
+#endif
+
 #include "wx/wx.h"
 #include "wx/app.h"
 #include "wx/timer.h"
@@ -47,7 +51,7 @@
 // ----------------------------------------------------------------------------
 
 #if !USE_SHARED_LIBRARY
-IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarBase)
 #endif
 
 // ----------------------------------------------------------------------------