From a0be434e78d628764aa143b82b3c57e9603b7357 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 15 Jan 2003 14:58:17 +0000 Subject: [PATCH] fixed calling Maximize(FALSE) before the window is shown (bug 667665) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 1 + src/msw/toplevel.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index a69ab38840..6a248c35ca 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -71,6 +71,7 @@ wxMSW: - fixed bug with wxTR_EDIT_LABELS not workign with wxTR_MULTIPLE - fixes for compilation with OpenWatcom compiler - fixed wxStaticText best size calculation (was wrong by '&' width) +- fixed calling wxFrame::Maximize(FALSE) before the window is shown OLD CHANGES =========== diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 5873b25370..4758fd9a52 100644 --- a/src/msw/toplevel.cpp +++ b/src/msw/toplevel.cpp @@ -567,7 +567,7 @@ void wxTopLevelWindowMSW::Maximize(bool maximize) { // we can't maximize the hidden frame because it shows it as well, so // just remember that we should do it later in this case - m_maximizeOnShow = TRUE; + m_maximizeOnShow = maximize; } } -- 2.45.2