]> git.saurik.com Git - wxWidgets.git/commitdiff
Make sure we setup the base's Show state correctly and send a show event.
authorKevin Ollivier <kevino@theolliviers.com>
Sun, 29 Nov 2009 21:46:15 +0000 (21:46 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sun, 29 Nov 2009 21:46:15 +0000 (21:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/toplevel_osx.cpp

index 0e646c5f697bd1ade572fa674dd47664f3b96cee..5ad97e65c3940b7e08b1c944bd2684e424bf9bc6 100644 (file)
@@ -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)