X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1383482892b0fd7b47cde00c9fd2479289e0ac06..9c9c3d7a8f6c4ee3481674e901d34714ee18915d:/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