]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/mdi.mm
Implement transformation between the wxDisplay coordinate system and the Cocoa screen...
[wxWidgets.git] / src / cocoa / mdi.mm
index ef279856ca14194571d921036a0957406db54b04..63e1bfd0e000586acbd001d20db58d9f439af1b3 100644 (file)
@@ -232,10 +232,10 @@ void wxMDIParentFrame::WindowDidBecomeMain(NSNotification *notification)
         }
         if(!hashmap.empty())
         {
-            int windowCount = 0;
+            NSInteger windowCount = 0;
             NSCountWindows(&windowCount);
             wxASSERT(windowCount>0);
-            int *windowList = new int[windowCount];
+            NSInteger *windowList = new NSInteger[windowCount];
             NSWindowList(windowCount, windowList);
             wxIntMDIChildFrameHashMap::iterator iter = hashmap.end();
             for(int i=0; i<windowCount && iter == hashmap.end(); i++)