diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-04 17:30:18 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-04 17:30:18 -0400 |
| commit | c33786ab96f9cad33a5e30ab287f5e6b05f98d42 (patch) | |
| tree | 68e92d077d9cca21e81c54285d227764d273eb9e /redo/window_darwin.m | |
| parent | 6010665415aa8ac80effd5d4caea80ea5628166b (diff) | |
Fixed an error in the previous commit.
Diffstat (limited to 'redo/window_darwin.m')
| -rw-r--r-- | redo/window_darwin.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redo/window_darwin.m b/redo/window_darwin.m index f0930f8..7cb97d6 100644 --- a/redo/window_darwin.m +++ b/redo/window_darwin.m @@ -20,6 +20,7 @@ return windowClosing(self->gowin); } +// TODO there has to be a better way - (void)doWindowResize:(id)win { NSWindow *w; @@ -27,7 +28,7 @@ w = toNSWindow(win); r = [[w contentView] frame]; - windowResized(self->gowin, (uintptr_t) r.size.width, (uintptr_t) r.size.height); + [[w contentView] setFrameSize:r.size]; } @end |
