slightly better fix for missing c_str() in OnCellValueChanged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-02 11:07:37 +00:00
parent 3b5bf72fbe
commit 7d7ec3cfb9

View File

@@ -968,10 +968,8 @@ void GridFrame::OnCellValueChanged( wxGridEvent& ev )
int row = ev.GetRow(), int row = ev.GetRow(),
col = ev.GetCol(); col = ev.GetCol();
wxString value = grid->GetCellValue(row, col);
wxLogMessage(_T("Value changed for cell at row %d, col %d: now \"%s\""), wxLogMessage(_T("Value changed for cell at row %d, col %d: now \"%s\""),
row, col, (const wxChar*) value); row, col, grid->GetCellValue(row, col).c_str());
ev.Skip(); ev.Skip();
} }