]> git.saurik.com Git - wxWidgets.git/commitdiff
fix usage of MacRegisterDefaultTypeAndCreator
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 4 Oct 2008 18:41:29 +0000 (18:41 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sat, 4 Oct 2008 18:41:29 +0000 (18:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/helpview/src/helpview.cpp

index 72b3daa6a34c2e2f4b5fc9ad9725be498f3059a3..6a74791cff6da544fb4a274982bb15fe98ee2694 100644 (file)
@@ -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