corrected initialization order of MLTE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,6 +104,11 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
|||||||
NavLoad() ;
|
NavLoad() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long menuMgrAttr ;
|
||||||
|
Gestalt( gestaltMenuMgrAttr , &menuMgrAttr ) ;
|
||||||
|
if ( menuMgrAttr & gestaltMenuMgrAquaLayoutMask )
|
||||||
|
sUMAHasAquaLayout = true ;
|
||||||
|
|
||||||
if ( TXNInitTextension != (void*) kUnresolvedCFragSymbolAddress )
|
if ( TXNInitTextension != (void*) kUnresolvedCFragSymbolAddress )
|
||||||
{
|
{
|
||||||
FontFamilyID fontId ;
|
FontFamilyID fontId ;
|
||||||
@@ -132,10 +137,7 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
|||||||
TXNInitTextension(fontDescriptions, noOfFontDescriptions, options );
|
TXNInitTextension(fontDescriptions, noOfFontDescriptions, options );
|
||||||
}
|
}
|
||||||
|
|
||||||
long menuMgrAttr ;
|
|
||||||
Gestalt( gestaltMenuMgrAttr , &menuMgrAttr ) ;
|
|
||||||
if ( menuMgrAttr & gestaltMenuMgrAquaLayoutMask )
|
|
||||||
sUMAHasAquaLayout = true ;
|
|
||||||
sUMASystemInitialized = true ;
|
sUMASystemInitialized = true ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -104,6 +104,11 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
|||||||
NavLoad() ;
|
NavLoad() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long menuMgrAttr ;
|
||||||
|
Gestalt( gestaltMenuMgrAttr , &menuMgrAttr ) ;
|
||||||
|
if ( menuMgrAttr & gestaltMenuMgrAquaLayoutMask )
|
||||||
|
sUMAHasAquaLayout = true ;
|
||||||
|
|
||||||
if ( TXNInitTextension != (void*) kUnresolvedCFragSymbolAddress )
|
if ( TXNInitTextension != (void*) kUnresolvedCFragSymbolAddress )
|
||||||
{
|
{
|
||||||
FontFamilyID fontId ;
|
FontFamilyID fontId ;
|
||||||
@@ -132,10 +137,7 @@ void UMAInitToolbox( UInt16 inMoreMastersCalls )
|
|||||||
TXNInitTextension(fontDescriptions, noOfFontDescriptions, options );
|
TXNInitTextension(fontDescriptions, noOfFontDescriptions, options );
|
||||||
}
|
}
|
||||||
|
|
||||||
long menuMgrAttr ;
|
|
||||||
Gestalt( gestaltMenuMgrAttr , &menuMgrAttr ) ;
|
|
||||||
if ( menuMgrAttr & gestaltMenuMgrAquaLayoutMask )
|
|
||||||
sUMAHasAquaLayout = true ;
|
|
||||||
sUMASystemInitialized = true ;
|
sUMASystemInitialized = true ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user