From 2112e38886c7efc95c7da6f44c689d3238b65d0c Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Tue, 14 Jun 2016 09:20:07 +0100 Subject: [PATCH] gsframe: Use wx enum for left mouse button --- pcsx2/gui/FrameForGS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/gui/FrameForGS.cpp b/pcsx2/gui/FrameForGS.cpp index de18b01bb6..718c21b386 100644 --- a/pcsx2/gui/FrameForGS.cpp +++ b/pcsx2/gui/FrameForGS.cpp @@ -217,7 +217,7 @@ void GSPanel::OnMouseEvent( wxMouseEvent& evt ) if( IsBeingDeleted() ) return; // Do nothing for left-button event - if (!evt.Button(1)) { + if (!evt.Button(wxMOUSE_BTN_LEFT)) { evt.Skip(); DoShowMouse(); }