- controlItem->SetValue4(WXSTRINGCAST expr->Nth(count)->StringValue());
- count ++;
- if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
- controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));
+ wxString str(expr->Nth(count)->StringValue());
+ controlItem->SetValue4(WXSTRINGCAST str);
+ count ++;
+ if (expr->Nth(count) && expr->Nth(count)->Type() == PrologList)
+ controlItem->SetFont(wxResourceInterpretFontSpec(expr->Nth(count)));