File: wxMac-2.8.10-fontdlg.patch

package info (click to toggle)
libalien-wxwidgets-perl 0.69%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,220 kB
  • sloc: perl: 5,365; makefile: 19
file content (16 lines) | stat: -rw-r--r-- 485 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -u src/mac/carbon/fontdlgosx.mm src/mac/carbon/fontdlgosx.mm
--- src/mac/carbon/fontdlgosx.mm	2007/01/22 21:46:14	44296
+++ src/mac/carbon/fontdlgosx.mm	2009/09/01 13:36:08	61800
@@ -169,7 +169,11 @@
 
     NSModalSession session = [NSApp beginModalSessionForWindow:fontPanel];
 
-    [NSApp runModalSession:session];
+    for (;;)
+    {
+        if ([NSApp runModalSession:session] != NSRunContinuesResponse)
+            break;
+    }
 
     [NSApp endModalSession:session];