X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55325d01e68cfb071e42699ca72ba84a7071aa2b..8aa40b04f87deb33b41efab7a6a28fc9fc053d8d:/utils/helpview/src/helpview.cpp?ds=sidebyside diff --git a/utils/helpview/src/helpview.cpp b/utils/helpview/src/helpview.cpp index 6f6d2b4edd..6a74791cff 100644 --- a/utils/helpview/src/helpview.cpp +++ b/utils/helpview/src/helpview.cpp @@ -55,9 +55,9 @@ bool hvApp::OnInit() delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used #endif - wxArtProvider::PushProvider(new AlternateArtProvider); + 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 @@ -259,7 +259,7 @@ bool hvApp::OpenBook(wxHtmlHelpController* controller) _( "Help books (*.htb)|*.htb|Help books (*.zip)|*.zip|\ HTML Help Project (*.hhp)|*.hhp"), - wxOPEN | wxFILE_MUST_EXIST, + wxFD_OPEN | wxFD_FILE_MUST_EXIST, NULL); if ( !s.empty() )