X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f63704ff4db9da6976547a1378d7e85b966eea7..1a33ac8fb0f5e43c89bd698618d554c6f7b8b452:/include/wx/event.h 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