]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toolbar.cpp
implemented menu drawing in the GTK theme
[wxWidgets.git] / src / motif / toolbar.cpp
index d77b72b954f1a484627488a7b1e5a11654de8970..a7faa4d42aff45e8224bddc42b4744c2bd0f72ef 100644 (file)
@@ -51,7 +51,7 @@
 // ----------------------------------------------------------------------------
 
 #if !USE_SHARED_LIBRARY
-IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarBase)
 #endif
 
 // ----------------------------------------------------------------------------
@@ -196,7 +196,7 @@ bool wxToolBar::Create(wxWindow *parent,
     m_windowId = id;
 
     SetName(name);
-    m_backgroundColour = wxSystemSettings::GetSystemColour(wxSYS_COLOUR_3DFACE);
+    m_backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
     m_foregroundColour = parent->GetForegroundColour();
     m_windowStyle = style;