摘要: 1 获取wxGrid当前选择的单元void ABCFrame::OnGrid1CellSelect(wxGridEvent& event){ wxString wxStr1 = wxString::Format( wxT("Cell: %d,%d"), event.GetRow(), event.GetCol() ); Grid1->SetCellValue(1,1,wxStr1); event.Skip();}2获取wxGrid当前光标位置(与选取单元的行列有所区别,在表现上 与上面1的 总是滞后一次) wxString wxstr2 = wxT(" 阅读全文
posted @ 2012-02-06 12:22 ele_eye 阅读(1768) 评论(0) 推荐(0) 编辑