From b487746ac401b3874d2fd9cf5aca35fea8203090 Mon Sep 17 00:00:00 2001 From: Kevin Ollivier Date: Sun, 29 Nov 2009 21:46:15 +0000 Subject: [PATCH] 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 --- src/osx/toplevel_osx.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- 2.50.0