src/video/cocoa/SDL_cocoawindow.m
changeset 5378 738a96883fa6
parent 5376 183ec2d4485c
child 5379 78c071fe4c37
equal deleted inserted replaced
5377:6125f6da3dae 5378:738a96883fa6
   790         }
   790         }
   791         [nswindow setFrameOrigin:rect.origin];
   791         [nswindow setFrameOrigin:rect.origin];
   792         [nswindow setContentSize:rect.size];
   792         [nswindow setContentSize:rect.size];
   793     } else {
   793     } else {
   794         if ([nswindow respondsToSelector: @selector(setStyleMask:)]) {
   794         if ([nswindow respondsToSelector: @selector(setStyleMask:)]) {
   795             [nswindow performSelector: @selector(setStyleMask:) withObject: (id)GetWindowStyle(window)];
   795             [nswindow performSelector: @selector(setStyleMask:) withObject: (id)(uintptr_t)GetWindowStyle(window)];
   796         }
   796         }
   797 
   797 
   798         // This doesn't seem to do anything...
   798         // This doesn't seem to do anything...
   799         //[nswindow setFrameOrigin:origin];
   799         //[nswindow setFrameOrigin:origin];
   800     }
   800     }