mirror of https://github.com/odrling/Aegisub
Use CmdDown in BaseGrid rather than #ifdefs
Originally committed to SVN as r5703.
This commit is contained in:
parent
c199bd6d18
commit
3dc0ed6c56
|
@ -607,13 +607,9 @@ void BaseGrid::OnMouseEvent(wxMouseEvent &event) {
|
|||
GetClientSize(&w,&h);
|
||||
|
||||
// Modifiers
|
||||
bool shift = event.m_shiftDown;
|
||||
bool alt = event.m_altDown;
|
||||
#ifdef __APPLE__
|
||||
bool ctrl = event.m_metaDown;
|
||||
#else
|
||||
bool ctrl = event.m_controlDown;
|
||||
#endif
|
||||
bool shift = event.ShiftDown();
|
||||
bool alt = event.AltDown();
|
||||
bool ctrl = event.CmdDown();
|
||||
|
||||
// Row that mouse is over
|
||||
bool click = event.LeftDown();
|
||||
|
|
Loading…
Reference in New Issue