]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow...
authorKevin Ollivier <kevino@theolliviers.com>
Wed, 30 Dec 2009 23:40:01 +0000 (23:40 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Wed, 30 Dec 2009 23:40:01 +0000 (23:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/toplevel_osx.cpp

index 3b6f61c6a23722fa2d472df3200811bc7d77cd45..8abcfbab435bc4773589a7513f9464cadd23c7b2 100644 (file)
@@ -159,7 +159,9 @@ wxString wxTopLevelWindowMac::GetTitle() const
 
 void wxTopLevelWindowMac::ShowWithoutActivating()
 {
-    if ( !wxTopLevelWindowBase::Show(true) )
+    // wxTopLevelWindowBase is derived from wxNonOwnedWindow, so don't
+    // call it here.
+    if ( !wxWindow::Show(true) )
         return;
 
     m_nowpeer->ShowWithoutActivating();