void GridFrame::OnColSize( wxGridSizeEvent& ev ) { logBuf = wxEmptyString; logBuf << _T("Resized col ") << ev.GetRowOrCol(); wxLogMessage( wxT("%s"), logBuf.c_str() ); ev.Skip(); }
//---------------------------------------------------------------------------------------- void DBGrid::OnColSize( wxGridSizeEvent& ev ) { logBuf = _T("DBGrid::OnColSize : "); logBuf << _T("Resized col ") << ev.GetRowOrCol(); // wxLogMessage( "%s", logBuf.c_str() ); logBuf += _T("\n"); wxLogMessage(logBuf.c_str()); ev.Skip(); }
void GridFrame::OnColSize( wxGridSizeEvent& ev ) { wxLogMessage(_T("Resized col %d"), ev.GetRowOrCol()); ev.Skip(); }
void mxDesktopTestGrid::OnColResize(wxGridSizeEvent &evt) { if (!created) return; int col=evt.GetRowOrCol(); if (old_size && col>=PRECOLS) { evt.Skip(); cols_sizes[col-PRECOLS]=GetColSize(col); } }