diff options
author | Littleboy | 2011-04-01 01:30:12 -0400 |
---|---|---|
committer | Julien | 2011-06-16 10:38:34 -0400 |
commit | c3d9c6afa57055705849359deaac7c5748d66fe1 (patch) | |
tree | 810a9b2ce820f0ae15186ebe3054f2f0a48e97c8 /backends/platform/sdl | |
parent | a523ade3329a36a50c75161279ced7c0d754906f (diff) | |
download | scummvm-rg350-c3d9c6afa57055705849359deaac7c5748d66fe1.tar.gz scummvm-rg350-c3d9c6afa57055705849359deaac7c5748d66fe1.tar.bz2 scummvm-rg350-c3d9c6afa57055705849359deaac7c5748d66fe1.zip |
BACKENDS: Add use flag for taskbar integration
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/win32/win32.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index bb254786d5..0a6702b6d9 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -85,9 +85,11 @@ void OSystem_Win32::init() { // Initialize File System Factory _fsFactory = new WindowsFilesystemFactory(); - // Initialize task bar manager +#if defined(USE_TASKBAR) + // Initialize taskbar manager _taskbarManager = new Win32TaskbarManager(); ((Win32TaskbarManager *)_taskbarManager)->init(); +#endif // Invoke parent implementation of this method OSystem_SDL::init(); |