]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
use HandleWindowEvent() in ProcessCommand(); return the value this function returns...
[wxWidgets.git] / src / gtk / toplevel.cpp
index 8d08c1a516a7210e147fc3208102bf0affb04dbc..36c2bfe160af90c49a3dd1e55dee6da9ca883ac1 100644 (file)
@@ -955,6 +955,14 @@ void wxTopLevelWindowGTK::DoSetSize( int x, int y, int width, int height, int si
     }
 }
 
+void wxTopLevelWindowGTK::DoSetClientSize(int width, int height)
+{
+    if (m_deferShow && !m_isShown)
+        // Since client size is being explicitly set, don't change it later
+        m_deferShow = false;
+    wxTopLevelWindowBase::DoSetClientSize(width, height);
+}
+
 void wxTopLevelWindowGTK::DoGetClientSize( int *width, int *height ) const
 {
     wxASSERT_MSG(m_widget, wxT("invalid frame"));