X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1383482892b0fd7b47cde00c9fd2479289e0ac06..ed39ff57b30a70a2395e07887a70bc01e7a3b7ec:/src/msw/toplevel.cpp diff --git a/src/msw/toplevel.cpp b/src/msw/toplevel.cpp index 0358aafc34..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; } } @@ -757,7 +757,7 @@ void wxTopLevelWindowMSW::OnActivate(wxActivateEvent& event) if ( m_winLastFocused ) { // let it know that it doesn't have focus any more - m_winLastFocused->HandleKillFocus(NULL); + m_winLastFocused->HandleKillFocus((WXHWND)NULL); } // so we NULL it out if it's a child from some other frame