summaryrefslogtreecommitdiff
path: root/src/video/cocoa
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2009-10-04 21:08:34 +0000
committermichi_cc <michi_cc@openttd.org>2009-10-04 21:08:34 +0000
commita831143f4541926ac0eaec8289e442cba60cc75f (patch)
tree07a2ce9bac0306c9bffb4ca8fa31647c100d9122 /src/video/cocoa
parent5f67762a7f14d901984251da6c41ecdad63a049b (diff)
downloadopenttd-a831143f4541926ac0eaec8289e442cba60cc75f.tar.xz
(svn r17707) -Fix: [OSX] Show the OS mouse cursor when displaying a dialog box if it was hidden.
Diffstat (limited to 'src/video/cocoa')
-rw-r--r--src/video/cocoa/cocoa_v.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm
index 44551cc89..a6c9b34c6 100644
--- a/src/video/cocoa/cocoa_v.mm
+++ b/src/video/cocoa/cocoa_v.mm
@@ -404,6 +404,7 @@ void CocoaDialog(const char *title, const char *message, const char *buttonLabel
return;
}
+ QZ_ShowMouse();
NSRunAlertPanel([NSString stringWithCString: title], [NSString stringWithCString: message], [NSString stringWithCString: buttonLabel], nil, nil);
if (!wasstarted && _video_driver != NULL) _video_driver->Stop();