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:
@@ -169,7 +169,11 @@ int RunMixedFontDialog(wxFontDialog* dialog)
|
|||||||
|
|
||||||
NSModalSession session = [NSApp beginModalSessionForWindow:fontPanel];
|
NSModalSession session = [NSApp beginModalSessionForWindow:fontPanel];
|
||||||
|
|
||||||
[NSApp runModalSession:session];
|
for (;;)
|
||||||
|
{
|
||||||
|
if ([NSApp runModalSession:session] != NSRunContinuesResponse)
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
[NSApp endModalSession:session];
|
[NSApp endModalSession:session];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user