]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
German translations update from Thomas Krebs.
[wxWidgets.git] / src / gtk / toplevel.cpp
index 2b7194d3eb36b3a7f84359a75ce81d43b87a042f..747e6218fa3fba49dff16bfd2867dcb0859de12b 100644 (file)
@@ -991,10 +991,12 @@ void wxTopLevelWindowGTK::DoSetSize( int x, int y, int width, int height, int si
 
 void wxTopLevelWindowGTK::DoSetClientSize(int width, int height)
 {
+    wxTopLevelWindowBase::DoSetClientSize(width, height);
+
     // Since client size is being explicitly set, don't change it later
+    // Has to be done after calling base because it calls SetSize,
+    // which sets this true
     m_deferShowAllowed = false;
-
-    wxTopLevelWindowBase::DoSetClientSize(width, height);
 }
 
 void wxTopLevelWindowGTK::DoGetClientSize( int *width, int *height ) const