Fix event types in wxMouseEvent::Aux1DClick() and Aux1DClick().
wxEVT_AUX[12]_UP were wrongly used instead of the correct wxEVT_AUX[12]_DCLICK. Closes #13308. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1502,8 +1502,8 @@ public:
|
|||||||
bool LeftDClick() const { return (m_eventType == wxEVT_LEFT_DCLICK); }
|
bool LeftDClick() const { return (m_eventType == wxEVT_LEFT_DCLICK); }
|
||||||
bool MiddleDClick() const { return (m_eventType == wxEVT_MIDDLE_DCLICK); }
|
bool MiddleDClick() const { return (m_eventType == wxEVT_MIDDLE_DCLICK); }
|
||||||
bool RightDClick() const { return (m_eventType == wxEVT_RIGHT_DCLICK); }
|
bool RightDClick() const { return (m_eventType == wxEVT_RIGHT_DCLICK); }
|
||||||
bool Aux1DClick() const { return (m_eventType == wxEVT_AUX1_UP); }
|
bool Aux1DClick() const { return (m_eventType == wxEVT_AUX1_DCLICK); }
|
||||||
bool Aux2DClick() const { return (m_eventType == wxEVT_AUX2_UP); }
|
bool Aux2DClick() const { return (m_eventType == wxEVT_AUX2_DCLICK); }
|
||||||
|
|
||||||
// True if a button is down and the mouse is moving
|
// True if a button is down and the mouse is moving
|
||||||
bool Dragging() const
|
bool Dragging() const
|
||||||
|
Reference in New Issue
Block a user