diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-02-03 22:43:06 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-13 22:21:17 +0100 |
commit | 965ce1294726427bf31da33bb5c7650773f8aada (patch) | |
tree | 508286c554e90e8e8296a69116c65224515cea0b /src/video/cocoa/cocoa_v.mm | |
parent | 42af13c141eb74f63e58827f8a33e7f66d7d829a (diff) | |
download | openttd-965ce1294726427bf31da33bb5c7650773f8aada.tar.xz |
Codechange: [OSX] Use newer mouse tracking API.
Diffstat (limited to 'src/video/cocoa/cocoa_v.mm')
-rw-r--r-- | src/video/cocoa/cocoa_v.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index ef30519ea..185f28c84 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -495,7 +495,7 @@ bool VideoDriver_Cocoa::MakeWindow(int width, int height) /* Create wrapper view for text input. */ NSRect view_frame = [ this->window contentRectForFrameRect:[ this->window frame ] ]; - this->cocoaview = [ [ OTTD_CocoaView alloc ] initWithFrame:view_frame andDriver:this ]; + this->cocoaview = [ [ OTTD_CocoaView alloc ] initWithFrame:view_frame ]; if (this->cocoaview == nil) { DEBUG(driver, 0, "Could not create the text wrapper view."); this->setup = false; |