From ed23853bc0934fb0715ddb2f626435a41c643c35 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 25 Feb 2000 14:02:47 +0000 Subject: [PATCH] assigning values to wxString is better than assigning to 'wxChar *' - editing of bugs table works git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/newgrid/griddemo.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/samples/newgrid/griddemo.cpp b/samples/newgrid/griddemo.cpp index 63a6e544df..367064076f 100644 --- a/samples/newgrid/griddemo.cpp +++ b/samples/newgrid/griddemo.cpp @@ -756,10 +756,10 @@ static const wxChar* severities[] = static struct BugsGridData { int id; - const wxChar *summary; + wxString summary; Severity severity; int prio; - const wxChar *platform; + wxString platform; bool opened; } gs_dataBugsGrid [] = { @@ -874,6 +874,7 @@ void BugsGridTable::SetValue( int row, int col, const wxString& value ) gd.severity = Sev_Normal; } } + break; case Col_Summary: gd.summary = value; -- 2.45.2