]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/toplevel.cpp
wxMenu Review, added Carbon Events and full OSX Support
[wxWidgets.git] / src / msw / toplevel.cpp
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;
     }
 }