__WXDEBUG__ must be tested with #ifdef, not #if
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f43dc7d3f8
commit
e822273ae0
@ -565,7 +565,7 @@ DEFINE_ONE_SHOT_HANDLER_GETTER( wxMacAppEventHandler )
|
||||
WXIMPORT char std::__throws_bad_alloc ;
|
||||
#endif
|
||||
|
||||
#if __WXDEBUG__
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 options,
|
||||
const char *assertionString, const char *exceptionLabelString,
|
||||
@ -619,7 +619,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
|
||||
{
|
||||
// Mac-specific
|
||||
|
||||
#if __WXDEBUG__
|
||||
#ifdef __WXDEBUG__
|
||||
InstallDebugAssertOutputHandler ( NewDebugAssertOutputHandlerUPP( wxMacAssertOutputHandler ) );
|
||||
#endif
|
||||
UMAInitToolbox( 4, sm_isEmbedded ) ;
|
||||
|
Loading…
Reference in New Issue
Block a user