Corrected handling of row/column attributes/selections if all columns/rows
are removed. Emit EVT_GRID_CELL_LEFT_CLICK before doing any processing of the left click mouse event (instead of emitting it somewhere in the middle). Moved calls to UpdateAttrRows/Cols to wxGrid's Insert/DeleteRow/Column (thereby eliminating the need for two now removed functions). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -756,11 +756,6 @@ public:
|
||||
// a wxGridCellAttrProvider if necessary.
|
||||
virtual bool CanHaveAttributes();
|
||||
|
||||
|
||||
// change row/col number in attribute if needed
|
||||
virtual void UpdateAttrRows( size_t pos, int numRows );
|
||||
virtual void UpdateAttrCols( size_t pos, int numCols );
|
||||
|
||||
// by default forwarded to wxGridCellAttrProvider if any. May be
|
||||
// overridden to handle attributes directly in the table.
|
||||
virtual wxGridCellAttr *GetAttr( int row, int col );
|
||||
|
Reference in New Issue
Block a user