From: Francesco Montorsi Date: Sat, 4 Oct 2008 18:41:29 +0000 (+0000) Subject: fix usage of MacRegisterDefaultTypeAndCreator X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/97c0c88bceecdb7e1f9dbbdb472c083f335444bd fix usage of MacRegisterDefaultTypeAndCreator git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/utils/helpview/src/helpview.cpp b/utils/helpview/src/helpview.cpp index 72b3daa6a3..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