From 8e8d3ba8e5b432f0ebe77785fa12a032001b5e23 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 21 Feb 2001 08:49:42 +0000 Subject: [PATCH] corrected an superfluous initfloatingwindows call in carbon git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/uma.cpp | 4 ++++ src/mac/uma.cpp | 4 ++++ 2 files changed, 8 insertions(+) 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() ) -- 2.47.2