From: Julian Smart Date: Thu, 2 Nov 2006 09:23:52 +0000 (+0000) Subject: Eliminate POD warning/error X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/740325df7f7b05cc93c7487e256453cf92dff327?hp=5f547a582e954f0ade36014e24eedcdb353f1020 Eliminate POD warning/error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/grid/griddemo.cpp b/samples/grid/griddemo.cpp index 526cbce60f..2102af618f 100644 --- a/samples/grid/griddemo.cpp +++ b/samples/grid/griddemo.cpp @@ -968,8 +968,10 @@ void GridFrame::OnCellValueChanged( wxGridEvent& ev ) int row = ev.GetRow(), col = ev.GetCol(); + wxString value = grid->GetCellValue(row, col); + wxLogMessage(_T("Value changed for cell at row %d, col %d: now \"%s\""), - row, col, grid->GetCellValue(row, col)); + row, col, (const wxChar*) value); ev.Skip(); }