]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected an superfluous initfloatingwindows call in carbon
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 21 Feb 2001 08:49:42 +0000 (08:49 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 21 Feb 2001 08:49:42 +0000 (08:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/uma.cpp
src/mac/uma.cpp

index 6eea3bd0628c8c0f272a0fff56497077b95feac9..5c1fbaddb1f3720f7727dfbfd1d07ddef850fdd8 100644 (file)
@@ -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() )
index 6eea3bd0628c8c0f272a0fff56497077b95feac9..5c1fbaddb1f3720f7727dfbfd1d07ddef850fdd8 100644 (file)
@@ -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() )