]> git.saurik.com Git - wxWidgets.git/commitdiff
Eliminate POD warning/error
authorJulian Smart <julian@anthemion.co.uk>
Thu, 2 Nov 2006 09:23:52 +0000 (09:23 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 2 Nov 2006 09:23:52 +0000 (09:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/grid/griddemo.cpp

index 526cbce60f58ff596d62e0bc80b3a49ffb9404dd..2102af618f278ab702d92d67948764f9f000cbfa 100644 (file)
@@ -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();
 }