wxMouseEvent& mouseEv )
{
bool claimed;
- bool vetoed= false;
+ bool vetoed= FALSE;
if ( type == wxEVT_GRID_ROW_SIZE || type == wxEVT_GRID_COL_SIZE )
{
mouseEv.ShiftDown(),
mouseEv.AltDown(),
mouseEv.MetaDown() );
-
+
claimed = GetEventHandler()->ProcessEvent(gridEvt);
vetoed = !gridEvt.IsAllowed();
claimed = GetEventHandler()->ProcessEvent(gridEvt);
vetoed = !gridEvt.IsAllowed();
}
-
- // A Veto'd event may not be `claimed' so test this first
+
+ // A Veto'd event may not be `claimed' so test this first
if (vetoed) return -1;
return claimed ? 1 : 0;
-
+
}
int row, int col )
{
bool claimed;
- bool vetoed= false;
+ bool vetoed= FALSE;
if ( type == wxEVT_GRID_ROW_SIZE || type == wxEVT_GRID_COL_SIZE )
{
vetoed = !gridEvt.IsAllowed();
}
- // A Veto'd event may not be `claimed' so test this first
+ // A Veto'd event may not be `claimed' so test this first
if (vetoed) return -1;
return claimed ? 1 : 0;
{
if ( enable )
{
- if (SendEvent( wxEVT_GRID_EDITOR_SHOWN) <0)
- return;
+ if (SendEvent( wxEVT_GRID_EDITOR_SHOWN) <0)
+ return;
// this should be checked by the caller!
wxASSERT_MSG( CanEnableCellControl(),