reverting incorrect conversion from r52690, refs #10856

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2009-07-02 13:23:51 +00:00
parent dc9934d489
commit 8dcf5bc1a6

View File

@ -103,7 +103,7 @@ wxMacCarbonFontPanelHandler(EventHandlerCallRef WXUNUSED(nextHandler),
FMFontFamily fontFamily = cEvent.GetParameter<FMFontFamily>(kEventParamFMFontFamily);
ATSFontFamilyRef atsfontfamilyref = FMGetATSFontFamilyRefFromFontFamily( fontFamily ) ;
OSStatus err = ATSFontFamilyGetName( atsfontfamilyref , kATSOptionFlagsDefault , &cfName ) ;
if ( err == noErr )
if ( err != noErr )
{
wxFAIL_MSG("ATSFontFamilyGetName failed");
}