Backported fix from 2.9.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@61800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2009-09-01 13:36:08 +00:00
parent 05e99449f5
commit e3dca87def

View File

@@ -169,7 +169,11 @@ int RunMixedFontDialog(wxFontDialog* dialog)
NSModalSession session = [NSApp beginModalSessionForWindow:fontPanel];
[NSApp runModalSession:session];
for (;;)
{
if ([NSApp runModalSession:session] != NSRunContinuesResponse)
break;
}
[NSApp endModalSession:session];