From da7f8ac4dde063341f7914213cc06b54777cc145 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 10 Jul 1998 17:46:08 +0000 Subject: [PATCH] wxWindow::OnSize() does _not_ call Layout() (it should only be done for top-level windows) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 2 +- src/gtk1/window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.45.2