]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tbargtk.cpp
don't use non-const wxDC::GetBackground() which doesn't exist any more
[wxWidgets.git] / src / gtk / tbargtk.cpp
index 4755e17a0e16c75c2aca7d42daf8d82f878bd9ff..61804aa0488364fa2c1195df8cf66fde3dafce75 100644 (file)
@@ -373,9 +373,7 @@ bool wxToolBar::Create( wxWindow *parent,
 
     m_parent->DoAddChild( this );
 
-    PostCreation();
-
-    Show( TRUE );
+    PostCreation(size);
 
     return TRUE;
 }