From 740325df7f7b05cc93c7487e256453cf92dff327 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 2 Nov 2006 09:23:52 +0000 Subject: [PATCH] Eliminate POD warning/error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/grid/griddemo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); }