Added extended selection support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -482,23 +482,27 @@ void GridFrame::InsertCol( wxCommandEvent& WXUNUSED(ev) )
|
||||
|
||||
void GridFrame::DeleteSelectedRows( wxCommandEvent& WXUNUSED(ev) )
|
||||
{
|
||||
#if 0
|
||||
if ( grid->IsSelection() )
|
||||
{
|
||||
int topRow, bottomRow, leftCol, rightCol;
|
||||
grid->GetSelection( &topRow, &leftCol, &bottomRow, &rightCol );
|
||||
grid->DeleteRows( topRow, bottomRow - topRow + 1 );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void GridFrame::DeleteSelectedCols( wxCommandEvent& WXUNUSED(ev) )
|
||||
{
|
||||
#if 0
|
||||
if ( grid->IsSelection() )
|
||||
{
|
||||
int topRow, bottomRow, leftCol, rightCol;
|
||||
grid->GetSelection( &topRow, &leftCol, &bottomRow, &rightCol );
|
||||
grid->DeleteCols( leftCol, rightCol - leftCol + 1 );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user