git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60436
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void GridFrame::OnRowSize( wxGridSizeEvent& ev )
{
void GridFrame::OnRowSize( wxGridSizeEvent& ev )
{
- wxLogMessage(_T("Resized row %d"), ev.GetRowOrCol());
+ const int row = ev.GetRowOrCol();
+
+ wxLogMessage("Resized row %d, new height = %d",
+ row, grid->GetRowSize(row));
void GridFrame::OnColSize( wxGridSizeEvent& ev )
{
void GridFrame::OnColSize( wxGridSizeEvent& ev )
{
- wxLogMessage(_T("Resized col %d"), ev.GetRowOrCol());
+ const int col = ev.GetRowOrCol();
+
+ wxLogMessage("Resized column %d, new width = %d",
+ col, grid->GetColSize(col));