From a2a04bab8ae70b2f665eb308a62e15d31e88de87 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 9 Jul 2009 18:10:35 +0000 Subject: [PATCH] 2.5: fix for last commit, left in debug print. --- intern/ghost/GHOST_IWindow.h | 2 +- intern/ghost/intern/GHOST_Window.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/intern/ghost/GHOST_IWindow.h b/intern/ghost/GHOST_IWindow.h index a05e014dc4f..d91995e35ec 100644 --- a/intern/ghost/GHOST_IWindow.h +++ b/intern/ghost/GHOST_IWindow.h @@ -258,7 +258,7 @@ public: * @param grab The new grab state of the cursor. * @return Indication of success. */ - virtual GHOST_TSuccess setCursorGrab(bool grab) { printf("?! grab\n"); return GHOST_kSuccess; }; + virtual GHOST_TSuccess setCursorGrab(bool grab) { return GHOST_kSuccess; }; }; diff --git a/intern/ghost/intern/GHOST_Window.h b/intern/ghost/intern/GHOST_Window.h index 43744b70be2..88178bae5b3 100644 --- a/intern/ghost/intern/GHOST_Window.h +++ b/intern/ghost/intern/GHOST_Window.h @@ -230,7 +230,7 @@ protected: * Sets the cursor grab on the window using * native window system calls. */ - virtual GHOST_TSuccess setWindowCursorGrab(bool grab) = 0; + virtual GHOST_TSuccess setWindowCursorGrab(bool grab) { return GHOST_kSuccess; }; /** * Sets the cursor shape on the window using