mirror of https://github.com/PCSX2/pcsx2.git
gsframe: Use wx enum for left mouse button
This commit is contained in:
parent
cf48e9d640
commit
2112e38886
|
@ -217,7 +217,7 @@ void GSPanel::OnMouseEvent( wxMouseEvent& evt )
|
||||||
if( IsBeingDeleted() ) return;
|
if( IsBeingDeleted() ) return;
|
||||||
|
|
||||||
// Do nothing for left-button event
|
// Do nothing for left-button event
|
||||||
if (!evt.Button(1)) {
|
if (!evt.Button(wxMOUSE_BTN_LEFT)) {
|
||||||
evt.Skip();
|
evt.Skip();
|
||||||
DoShowMouse();
|
DoShowMouse();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue