- CalcDimensions();
- ShowCellEditControl();
- Refresh();
-
- // Note: we are ending the event *after* doing
- // default processing in this case
- //
- SendEvent( EVT_GRID_ROW_SIZE, m_dragRowOrCol, -1, ev );
- }
- }
- break;
-
- case WXGRID_CURSOR_RESIZE_COL:
- {
- if ( m_dragLastPos >= 0 )
- {
- // erase the last line and resize the col
- //
- wxClientDC dc( this );
- dc.SetLogicalFunction( wxINVERT );
- dc.DrawLine( m_left, m_dragLastPos,
- m_right, m_dragLastPos );
- HideCellEditControl();
- int left = m_left + m_rowLabelWidth;
- if ( m_dragRowOrCol > 0 )
- left = m_colRights[m_dragRowOrCol-1];
+ CalcDimensions();
+ ShowCellEditControl();
+ Refresh();
+
+ // Note: we are ending the event *after* doing
+ // default processing in this case
+ //
+ SendEvent( EVT_GRID_ROW_SIZE, m_dragRowOrCol, -1, ev );
+ }
+ }
+ break;
+
+ case WXGRID_CURSOR_RESIZE_COL:
+ {
+ if ( m_dragLastPos >= 0 )
+ {
+ // erase the last line and resize the col
+ //
+ wxClientDC dc( this );
+ dc.SetLogicalFunction( wxINVERT );
+ dc.DrawLine( m_left, m_dragLastPos,
+ m_right, m_dragLastPos );
+ HideCellEditControl();
+ int left = m_left + m_rowLabelWidth;
+ if ( m_dragRowOrCol > 0 )
+ left = m_colRights[m_dragRowOrCol-1];