From 4e32015c906d3d992bc14c37fa99629bbfc5f8fd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 4 Jul 2011 17:22:49 +0000 Subject: [PATCH] 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 --- 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 338ce78a09..a94c5375df 100644 --- a/include/wx/event.h +++ b/include/wx/event.h @@ -1502,8 +1502,8 @@ public: bool LeftDClick() const { return (m_eventType == wxEVT_LEFT_DCLICK); } bool MiddleDClick() const { return (m_eventType == wxEVT_MIDDLE_DCLICK); } bool RightDClick() const { return (m_eventType == wxEVT_RIGHT_DCLICK); } - bool Aux1DClick() const { return (m_eventType == wxEVT_AUX1_UP); } - bool Aux2DClick() const { return (m_eventType == wxEVT_AUX2_UP); } + bool Aux1DClick() const { return (m_eventType == wxEVT_AUX1_DCLICK); } + bool Aux2DClick() const { return (m_eventType == wxEVT_AUX2_DCLICK); } // True if a button is down and the mouse is moving bool Dragging() const -- 2.45.2