git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24203
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// 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