gsframe: Use wx enum for left mouse button

This commit is contained in:
Jonathan Li 2016-06-14 09:20:07 +01:00
parent cf48e9d640
commit 2112e38886
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }