From: Kevin Ollivier Date: Sun, 29 Nov 2009 21:46:15 +0000 (+0000) Subject: Make sure we setup the base's Show state correctly and send a show event. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b487746ac401b3874d2fd9cf5aca35fea8203090 Make sure we setup the base's Show state correctly and send a show event. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/osx/toplevel_osx.cpp b/src/osx/toplevel_osx.cpp index 0e646c5f69..5ad97e65c3 100644 --- a/src/osx/toplevel_osx.cpp +++ b/src/osx/toplevel_osx.cpp @@ -159,7 +159,12 @@ wxString wxTopLevelWindowMac::GetTitle() const void wxTopLevelWindowMac::ShowWithoutActivating() { - return m_nowpeer->ShowWithoutActivating(); + if ( !wxTopLevelWindowBase::Show(true) ) + return; + + m_nowpeer->ShowWithoutActivating(); + + // TODO: Should we call EVT_SIZE here? } bool wxTopLevelWindowMac::ShowFullScreen(bool show, long style)