]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed calling Maximize(FALSE) before the window is shown (bug 667665)
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Jan 2003 14:58:17 +0000 (14:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 15 Jan 2003 14:58:17 +0000 (14:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
src/msw/toplevel.cpp

index a69ab388403bd7195a3cd93b73ce4ddb283beb71..6a248c35ca8a8909d0a01d7e2ca2b95151152fc7 100644 (file)
@@ -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
 ===========
index 5873b253703d814bf2265a9bc39f3b8fbc8d62b2..4758fd9a52143c5591471749f2435d02fc828248 100644 (file)
@@ -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;
     }
 }