diff options
Diffstat (limited to 'backends/platform/sdl/macosx/macosx.cpp')
| -rw-r--r-- | backends/platform/sdl/macosx/macosx.cpp | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp index 301dc44b7b..924e33b6e3 100644 --- a/backends/platform/sdl/macosx/macosx.cpp +++ b/backends/platform/sdl/macosx/macosx.cpp @@ -31,6 +31,7 @@  #include "backends/mixer/doublebuffersdl/doublebuffersdl-mixer.h"  #include "backends/platform/sdl/macosx/appmenu_osx.h"  #include "backends/updates/macosx/macosx-updates.h" +#include "backends/taskbar/macosx/macosx-taskbar.h"  #include "common/archive.h"  #include "common/config-manager.h" @@ -45,6 +46,16 @@ OSystem_MacOSX::OSystem_MacOSX()  	OSystem_POSIX("Library/Preferences/ScummVM Preferences") {  } +void OSystem_MacOSX::init() { +#if defined(USE_TASKBAR) +	// Initialize taskbar manager +	_taskbarManager = new MacOSXTaskbarManager(); +#endif +	 +	// Invoke parent implementation of this method +	OSystem_POSIX::init(); +} +  void OSystem_MacOSX::initBackend() {  	// Create the mixer manager  	if (_mixer == 0) { | 
