diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 7726cf9669..f8b92ef534 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1335,7 +1335,7 @@ void wxWindow::Fit(void) void wxWindow::OnSize( wxSizeEvent &WXUNUSED(event) ) { - if (GetAutoLayout()) Layout(); + //if (GetAutoLayout()) Layout(); }; bool wxWindow::Show( bool show ) diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 7726cf9669..f8b92ef534 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -1335,7 +1335,7 @@ void wxWindow::Fit(void) void wxWindow::OnSize( wxSizeEvent &WXUNUSED(event) ) { - if (GetAutoLayout()) Layout(); + //if (GetAutoLayout()) Layout(); }; bool wxWindow::Show( bool show )