X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20c81bed846981e90769826b94a91eebb91158f1..191e43fd02e958cd302049c469fb0f5ca9b67ceb:/utils/helpview/src/helpview.cpp?ds=sidebyside diff --git a/utils/helpview/src/helpview.cpp b/utils/helpview/src/helpview.cpp index 68991f7467..6a74791cff 100644 --- a/utils/helpview/src/helpview.cpp +++ b/utils/helpview/src/helpview.cpp @@ -57,7 +57,7 @@ bool hvApp::OnInit() wxArtProvider::Push(new AlternateArtProvider); -#ifdef __WXMAC__ +#if defined( __WXOSX_MAC__ ) && wxOSX_USE_CARBON wxApp::s_macAboutMenuItemId = wxID_ABOUT; wxFileName::MacRegisterDefaultTypeAndCreator( wxT("htb") , 'HTBD' , 'HTBA' ) ; #endif @@ -219,8 +219,6 @@ bool hvApp::OnInit() m_helpController->DisplayContents(); - SetTopWindow(m_helpController->GetFrame()); - return true; }