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:
Gilles Depeyrot 2002-01-26 22:05:56 +00:00
parent e32d659d4d
commit 2f056c85d1
4 changed files with 4 additions and 8 deletions

View File

@ -35,9 +35,7 @@
#include "wx/thread.h"
#ifdef __WXMAC__
#ifndef __DARWIN__
#include <Threads.h>
#endif
#include "wx/mac/uma.h"
#endif

View File

@ -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,

View File

@ -35,9 +35,7 @@
#include "wx/thread.h"
#ifdef __WXMAC__
#ifndef __DARWIN__
#include <Threads.h>
#endif
#include "wx/mac/uma.h"
#endif

View File

@ -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,