From: Stefan Csomor Date: Wed, 21 Feb 2001 08:49:42 +0000 (+0000) Subject: corrected an superfluous initfloatingwindows call in carbon X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e8d3ba8e5b432f0ebe77785fa12a032001b5e23 corrected an superfluous initfloatingwindows call in carbon git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/uma.cpp b/src/mac/carbon/uma.cpp index 6eea3bd062..5c1fbaddb1 100644 --- a/src/mac/carbon/uma.cpp +++ b/src/mac/carbon/uma.cpp @@ -80,10 +80,14 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls ) #endif #ifndef __UNIX__ +#if TARGET_CARBON +// Call currently implicitely done : InitFloatingWindows() ; +#else if ( sUMAHasWindowManager ) InitFloatingWindows() ; else InitWindows(); +#endif #endif if ( NavServicesAvailable() ) diff --git a/src/mac/uma.cpp b/src/mac/uma.cpp index 6eea3bd062..5c1fbaddb1 100644 --- a/src/mac/uma.cpp +++ b/src/mac/uma.cpp @@ -80,10 +80,14 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls ) #endif #ifndef __UNIX__ +#if TARGET_CARBON +// Call currently implicitely done : InitFloatingWindows() ; +#else if ( sUMAHasWindowManager ) InitFloatingWindows() ; else InitWindows(); +#endif #endif if ( NavServicesAvailable() )