Fix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow::Show.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Kevin Ollivier
2009-12-30 23:40:01 +00:00
parent 9e477451a1
commit 598ad2b94d

View 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();