summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/ActiveWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nGenEx/ActiveWindow.cpp')
-rw-r--r--nGenEx/ActiveWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/nGenEx/ActiveWindow.cpp b/nGenEx/ActiveWindow.cpp
index cf76063..145b29e 100644
--- a/nGenEx/ActiveWindow.cpp
+++ b/nGenEx/ActiveWindow.cpp
@@ -930,14 +930,14 @@ ActiveWindow::GetCapture()
// +--------------------------------------------------------------------+
-int
+bool
ActiveWindow::SetCapture()
{
EventDispatch* dispatch = EventDispatch::GetInstance();
if (dispatch)
- return dispatch->CaptureMouse(this);
+ return dispatch->CaptureMouse(this) == 1;
- return 0;
+ return false;
}
// +--------------------------------------------------------------------+