]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tbargtk.cpp
attempts at making modal dialogs without parent work - failed
[wxWidgets.git] / src / gtk / tbargtk.cpp
index bac1d93d7907570283191c7bca177b94da978b17..d36704d5138eb212854bb2c471693ad2dc39764f 100644 (file)
@@ -82,7 +82,7 @@ protected:
 // wxWin macros
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarBase)
 
 // ============================================================================
 // implementation
@@ -220,9 +220,7 @@ void wxToolBar::Init()
 {
     m_fg =
     m_bg = (GdkColor *)NULL;
-
     m_toolbar = (GtkToolbar *)NULL;
-
     m_blockNextEvent = FALSE;
 }