aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx/toggle_switch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/gfx/toggle_switch.cpp')
-rw-r--r--engines/titanic/gfx/toggle_switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/gfx/toggle_switch.cpp b/engines/titanic/gfx/toggle_switch.cpp
index 456ac79ff6..815f96cb5a 100644
--- a/engines/titanic/gfx/toggle_switch.cpp
+++ b/engines/titanic/gfx/toggle_switch.cpp
@@ -24,7 +24,7 @@
namespace Titanic {
-BEGIN_MESSAGE_MAP(CToggleSwitch, CToggleSwitch)
+BEGIN_MESSAGE_MAP(CToggleSwitch, CGameObject)
ON_MESSAGE(MouseButtonUpMsg)
ON_MESSAGE(ChildDragStartMsg)
ON_MESSAGE(ChildDragMoveMsg)