git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6083
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void GridFrame::InsertRow( wxCommandEvent& WXUNUSED(ev) )
{
void GridFrame::InsertRow( wxCommandEvent& WXUNUSED(ev) )
{
- grid->InsertRows( 0, 1 );
+ grid->InsertRows( grid->GetGridCursorRow(), 1 );
}
void GridFrame::InsertCol( wxCommandEvent& WXUNUSED(ev) )
{
}
void GridFrame::InsertCol( wxCommandEvent& WXUNUSED(ev) )
{
- grid->InsertCols( 0, 1 );
+ grid->InsertCols( grid->GetGridCursorCol(), 1 );