aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorOystein Eftevaag2007-01-06 19:22:05 +0000
committerOystein Eftevaag2007-01-06 19:22:05 +0000
commit9686d2cf40084c8f19233c0696e8e37f95bbda0b (patch)
treeec30f043e9030268ebd8dd0378c4159369f2c2b6 /gui
parent7f0156322fcc13e1a718e1d5544017be672bfc2b (diff)
downloadscummvm-rg350-9686d2cf40084c8f19233c0696e8e37f95bbda0b.tar.gz
scummvm-rg350-9686d2cf40084c8f19233c0696e8e37f95bbda0b.tar.bz2
scummvm-rg350-9686d2cf40084c8f19233c0696e8e37f95bbda0b.zip
ShowCursor() and HideCursor() are deprecated in Mac OS X, replacing the calls.
svn-id: r25041
Diffstat (limited to 'gui')
-rw-r--r--gui/browser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/browser.cpp b/gui/browser.cpp
index 40d5121458..536cccdb4e 100644
--- a/gui/browser.cpp
+++ b/gui/browser.cpp
@@ -66,7 +66,7 @@ int BrowserDialog::runModal() {
g_system->setFeatureState(OSystem::kFeatureFullscreenMode, false);
// Temporarily show the real mouse
- ShowCursor();
+ CGDisplayShowCursor(kCGDirectMainDisplay);
err = NavGetDefaultDialogCreationOptions(&options);
assert(err == noErr);
@@ -85,7 +85,7 @@ int BrowserDialog::runModal() {
err = NavDialogRun(dialogRef);
assert(err == noErr);
- HideCursor();
+ CGDisplayHideCursor(kCGDirectMainDisplay);
result = NavDialogGetUserAction(dialogRef);