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:
@@ -756,10 +756,10 @@ static const wxChar* severities[] =
|
|||||||
static struct BugsGridData
|
static struct BugsGridData
|
||||||
{
|
{
|
||||||
int id;
|
int id;
|
||||||
const wxChar *summary;
|
wxString summary;
|
||||||
Severity severity;
|
Severity severity;
|
||||||
int prio;
|
int prio;
|
||||||
const wxChar *platform;
|
wxString platform;
|
||||||
bool opened;
|
bool opened;
|
||||||
} gs_dataBugsGrid [] =
|
} gs_dataBugsGrid [] =
|
||||||
{
|
{
|
||||||
@@ -874,6 +874,7 @@ void BugsGridTable::SetValue( int row, int col, const wxString& value )
|
|||||||
gd.severity = Sev_Normal;
|
gd.severity = Sev_Normal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
case Col_Summary:
|
case Col_Summary:
|
||||||
gd.summary = value;
|
gd.summary = value;
|
||||||
|
Reference in New Issue
Block a user