only and added code to BugsGridTable::SetValue() for Borland to set
string values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6341
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static struct BugsGridData
{
int id;
static struct BugsGridData
{
int id;
+
+ // Borland can't deal with global wxStrings and will generate a
+ // compile time error with the initializing the gs_dataGridBugs
+ // array (below)
+ //
Severity severity;
int prio;
Severity severity;
int prio;
{
{ 18, _T("foo doesn't work"), Sev_Major, 1, _T("wxMSW"), TRUE },
{ 27, _T("bar crashes"), Sev_Critical, 1, _T("all"), FALSE },
{
{ 18, _T("foo doesn't work"), Sev_Major, 1, _T("wxMSW"), TRUE },
{ 27, _T("bar crashes"), Sev_Critical, 1, _T("all"), FALSE },
+#else
+ // this generates a warning message if you are using the
+ // memory tracing code but it should be ok :MB
+ //
+ delete gd.summary;
+ gd.summary = copystring( value.c_str() );
+#endif
break;
case Col_Platform:
break;
case Col_Platform:
+#else
+ // this generates a warning message if you are using the
+ // memory tracing code but it should be ok :MB
+ //
+ delete gd.platform;
+ gd.platform = copystring( value.c_str() );
+#endif