From: Stefan Csomor Date: Sat, 10 Jan 2009 19:56:13 +0000 (+0000) Subject: fixing wrong constant X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f93849e67739f80cf1b5802dd7537446128ae1db fixing wrong constant git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/osx/carbon/app.h b/include/wx/osx/carbon/app.h index 9bf7a402b7..2ebb72cc1a 100644 --- a/include/wx/osx/carbon/app.h +++ b/include/wx/osx/carbon/app.h @@ -110,7 +110,7 @@ public: bool MacSendKeyUpEvent( wxWindow* focus , long keyval , long modifiers , long when , short wherex , short wherey , wxChar uniChar ) ; bool MacSendCharEvent( wxWindow* focus , long keymessage , long modifiers , long when , short wherex , short wherey , wxChar uniChar ) ; void MacCreateKeyEvent( wxKeyEvent& event, wxWindow* focus , long keymessage , long modifiers , long when , short wherex , short wherey , wxChar uniChar ) ; -#if wxOSX_CARBON +#if wxOSX_USE_CARBON // we only have applescript on these virtual short MacHandleAEODoc(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ; virtual short MacHandleAEGURL(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ; diff --git a/src/osx/carbon/app.cpp b/src/osx/carbon/app.cpp index cf770ff350..e1df3f151a 100644 --- a/src/osx/carbon/app.cpp +++ b/src/osx/carbon/app.cpp @@ -79,7 +79,7 @@ wxString wxApp::s_macHelpMenuTitleName = wxT("&Help") ; bool wxApp::sm_isEmbedded = false; // Normally we're not a plugin -#if wxOSX_CARBON +#if wxOSX_USE_CARBON //---------------------------------------------------------------------- // Core Apple Event Support