wxNode *node = string_list->First();
while (node)
{
- char *string = (char *)node->Data();
+ wxChar *string = (wxChar*)node->GetData();
wxExpr *expr = new wxExpr(wxExprString, wxString(string));
listExpr->Append(expr);
node = node->Next();
if (term->Type() == wxExprList)
{
- wxExpr *value = term->AttributeValue("id");
+ wxExpr *value = term->AttributeValue(wxT("id"));
if (value->Type() == wxExprInteger && value->IntegerValue() == id)
found = term;
}
char *wxmake_word(char *str)
{
- wxExpr *x = new wxExpr(wxExprWord, str);
+ wxExpr *x = new wxExpr(wxExprWord, wxString(str, wxConvLibc).c_str());
return (char *)x;
}