]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/dialog.mm
Use real id for wxPGCanvas
[wxWidgets.git] / src / osx / cocoa / dialog.mm
index c975bdf1e8b1eaf4ce65aab89f1550460153c803..4af807536ad6a687ffe1903435d30b885ede199b 100644 (file)
@@ -45,9 +45,9 @@ void wxDialog::DoShowModal()
     }
 */
     NSWindow* theWindow = GetWXWindow();
-    
+
     NSModalSession session = [NSApp beginModalSessionForWindow:theWindow];
-    while (IsModal()) 
+    while (IsModal())
     {
         wxMacAutoreleasePool autoreleasepool;
         // we cannot break based on the return value, because nested
@@ -55,9 +55,9 @@ void wxDialog::DoShowModal()
         // unsafe
         [NSApp runModalSession:session];
 
-        // do some idle processing 
-        if (wxTheApp) 
-            wxTheApp->ProcessIdle(); 
+        // do some idle processing
+        if (wxTheApp)
+            wxTheApp->ProcessIdle();
     }
     [NSApp endModalSession:session];