diff options
author | Oystein Eftevaag | 2007-01-06 19:22:05 +0000 |
---|---|---|
committer | Oystein Eftevaag | 2007-01-06 19:22:05 +0000 |
commit | 9686d2cf40084c8f19233c0696e8e37f95bbda0b (patch) | |
tree | ec30f043e9030268ebd8dd0378c4159369f2c2b6 | |
parent | 7f0156322fcc13e1a718e1d5544017be672bfc2b (diff) | |
download | scummvm-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
-rw-r--r-- | gui/browser.cpp | 4 |
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); |