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
This commit is contained in:
Vadim Zeitlin 2000-02-25 14:02:47 +00:00
parent cff5ce9e7a
commit ed23853bc0

View File

@ -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;