tweaked conditional compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e32d659d4d
commit
2f056c85d1
@ -35,9 +35,7 @@
|
||||
#include "wx/thread.h"
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#ifndef __DARWIN__
|
||||
#include <Threads.h>
|
||||
#endif
|
||||
#include "wx/mac/uma.h"
|
||||
#endif
|
||||
|
||||
|
@ -94,7 +94,6 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
||||
sUMAHasWindowManager = sUMAWindowManagerAttr & gestaltWindowMgrPresent ;
|
||||
}
|
||||
|
||||
#ifndef __DARWIN__
|
||||
#if TARGET_CARBON
|
||||
// Call currently implicitely done : InitFloatingWindows() ;
|
||||
#else
|
||||
@ -102,7 +101,6 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
||||
InitFloatingWindows() ;
|
||||
else
|
||||
InitWindows();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if ( NavServicesAvailable() )
|
||||
@ -588,8 +586,10 @@ OSStatus UMADrawThemePlacard( const Rect *inRect , ThemeDrawState inState )
|
||||
return ::DrawThemePlacard( inRect , inState ) ;
|
||||
}
|
||||
|
||||
#if !TARGET_CARBON
|
||||
static OSStatus helpMenuStatus = noErr ;
|
||||
static MenuItemIndex firstCustomItemIndex = 0 ;
|
||||
#endif
|
||||
|
||||
OSStatus UMAGetHelpMenu(
|
||||
MenuRef * outHelpMenu,
|
||||
|
@ -35,9 +35,7 @@
|
||||
#include "wx/thread.h"
|
||||
|
||||
#ifdef __WXMAC__
|
||||
#ifndef __DARWIN__
|
||||
#include <Threads.h>
|
||||
#endif
|
||||
#include "wx/mac/uma.h"
|
||||
#endif
|
||||
|
||||
|
@ -94,7 +94,6 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
||||
sUMAHasWindowManager = sUMAWindowManagerAttr & gestaltWindowMgrPresent ;
|
||||
}
|
||||
|
||||
#ifndef __DARWIN__
|
||||
#if TARGET_CARBON
|
||||
// Call currently implicitely done : InitFloatingWindows() ;
|
||||
#else
|
||||
@ -102,7 +101,6 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
||||
InitFloatingWindows() ;
|
||||
else
|
||||
InitWindows();
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if ( NavServicesAvailable() )
|
||||
@ -588,8 +586,10 @@ OSStatus UMADrawThemePlacard( const Rect *inRect , ThemeDrawState inState )
|
||||
return ::DrawThemePlacard( inRect , inState ) ;
|
||||
}
|
||||
|
||||
#if !TARGET_CARBON
|
||||
static OSStatus helpMenuStatus = noErr ;
|
||||
static MenuItemIndex firstCustomItemIndex = 0 ;
|
||||
#endif
|
||||
|
||||
OSStatus UMAGetHelpMenu(
|
||||
MenuRef * outHelpMenu,
|
||||
|
Loading…
Reference in New Issue
Block a user