git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28071
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_lineLastClicked = current;
size_t oldCurrent = m_current;
-
- if ( IsSingleSel() || !(event.ControlDown() || event.ShiftDown()) )
+ bool cmdModifierDown;
+#ifdef __WXMAC__
+ cmdModifierDown = event.MetaDown();
+#else
+ cmdModifierDown = event.ControlDown();
+#endif
+ if ( IsSingleSel() || !(cmdModifierDown || event.ShiftDown()) )
{
HighlightAll( false );
}
else // multi sel & either ctrl or shift is down
{
- if (event.ControlDown())
+ if (cmdModifierDown)
{
ChangeCurrent(current);