if ( row >= 0 &&
!SendEvent( wxEVT_GRID_LABEL_LEFT_CLICK, row, -1, event ) )
{
- if ( !event.ShiftDown() && !event.ControlDown() )
+ if ( !event.ShiftDown() && !event.CmdDown() )
ClearSelection();
if ( m_selection )
{
if ( col >= 0 &&
!SendEvent( wxEVT_GRID_LABEL_LEFT_CLICK, -1, col, event ) )
{
- if ( !event.ShiftDown() && !event.ControlDown() )
+ if ( !event.ShiftDown() && !event.CmdDown() )
ClearSelection();
if ( m_selection )
{
if ( coords != wxGridNoCellCoords )
{
- if ( event.ControlDown() )
+ if ( event.CmdDown() )
{
if ( m_selectingKeyboard == wxGridNoCellCoords)
m_selectingKeyboard = coords;
coords.GetCol(),
event ) )
{
- if ( !event.ControlDown() )
+ if ( !event.CmdDown() )
ClearSelection();
if ( event.ShiftDown() )
{
DisableCellEditControl();
MakeCellVisible( coords );
- if ( event.ControlDown() )
+ if ( event.CmdDown() )
{
if ( m_selection )
{