bool return values of XXXDown() key query functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6577
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
logBuf << "Deselected ";
logBuf << "cell at row " << ev.GetRow()
<< " col " << ev.GetCol()
logBuf << "Deselected ";
logBuf << "cell at row " << ev.GetRow()
<< " col " << ev.GetCol()
- << " ( ControlDown: "<<ev.ControlDown()
- << ", ShiftDown: "<<ev.ShiftDown()
- << ", AltDown: "<<ev.AltDown()
- << ", MetaDown: "<<ev.MetaDown()<< " )";
+ << " ( ControlDown: "<< (ev.ControlDown() ? 'T':'F')
+ << ", ShiftDown: "<< (ev.ShiftDown() ? 'T':'F')
+ << ", AltDown: "<< (ev.AltDown() ? 'T':'F')
+ << ", MetaDown: "<< (ev.MetaDown() ? 'T':'F') << " )";
wxLogMessage( "%s", logBuf.c_str() );
// you must call Skip() if you want the default processing
wxLogMessage( "%s", logBuf.c_str() );
// you must call Skip() if you want the default processing
<< " col " << ev.GetLeftCol()
<< " to row " << ev.GetBottomRow()
<< " col " << ev.GetRightCol()
<< " col " << ev.GetLeftCol()
<< " to row " << ev.GetBottomRow()
<< " col " << ev.GetRightCol()
- << " ( ControlDown: "<<ev.ControlDown()
- << ", ShiftDown: "<<ev.ShiftDown()
- << ", AltDown: "<<ev.AltDown()
- << ", MetaDown: "<<ev.MetaDown()<< " )";
+ << " ( ControlDown: "<< (ev.ControlDown() ? 'T':'F')
+ << ", ShiftDown: "<< (ev.ShiftDown() ? 'T':'F')
+ << ", AltDown: "<< (ev.AltDown() ? 'T':'F')
+ << ", MetaDown: "<< (ev.MetaDown() ? 'T':'F') << " )";
wxLogMessage( "%s", logBuf.c_str() );
ev.Skip();
wxLogMessage( "%s", logBuf.c_str() );
ev.Skip();