]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/frame.cpp
don't reserve space in the header for the column image if there is none (patch 1225522)
[wxWidgets.git] / src / gtk1 / frame.cpp
index 2e602ab9dc4d440f075b9a28864a2e657d274f82..21986f8a597fbf2f5c0f867d1fb29bf788b1aa16 100644 (file)
@@ -622,12 +622,12 @@ void wxFrame::UpdateMenuBarSize()
 
     // this is called after Remove with a NULL m_frameMenuBar
     if ( m_frameMenuBar )
-    (* GTK_WIDGET_CLASS( GTK_OBJECT_GET_CLASS(m_frameMenuBar->m_widget) )->size_request )
-        (m_frameMenuBar->m_widget, &req );
+        (* GTK_WIDGET_CLASS( GTK_OBJECT_GET_CLASS(m_frameMenuBar->m_widget) )->size_request )
+            (m_frameMenuBar->m_widget, &req );
 
     m_menuBarHeight = req.height;
 
-        // resize window in OnInternalIdle
+    // resize window in OnInternalIdle
 
     GtkUpdateSize();
 }
@@ -714,4 +714,3 @@ void wxFrame::PositionStatusBar()
     GtkUpdateSize();
 }
 #endif // wxUSE_STATUSBAR
-