From 5b66d31a94fe20efc0cee36e53d8f0bd2e415703 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 16 Oct 2003 15:05:32 +0000 Subject: [PATCH] fixed wxMouseEvent::Moving() and Dragging() after the last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/event.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/event.h b/include/wx/event.h index c5277ee39a..f7ac632150 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -722,13 +722,13 @@ public: // True if a button is down and the mouse is moving bool Dragging() const { - return (m_eventType == wxEVT_MOTION) && ButtonDown(wxMOUSE_BTN_ANY); + return (m_eventType == wxEVT_MOTION) && ButtonIsDown(wxMOUSE_BTN_ANY); } // True if the mouse is moving, and no button is down bool Moving() const { - return (m_eventType == wxEVT_MOTION) && !ButtonDown(wxMOUSE_BTN_ANY); + return (m_eventType == wxEVT_MOTION) && !ButtonIsDown(wxMOUSE_BTN_ANY); } // True if the mouse is just entering the window -- 2.45.2