- }
- if (!excelObject.PutProperty("ActiveCell.Value", "wxWindows automation test!"))
- {
- wxMessageBox("Could not set active cell value.");
- return;
- }
- if (!excelObject.PutProperty("ActiveCell.Font.Bold", (bool) TRUE))
- {
- wxMessageBox("Could not put Bold property to active cell.");
- return;
- }
+ }
+ if (!excelObject.PutProperty(_T("ActiveCell.Value"), _T("wxWidgets automation test!")))
+ {
+ wxMessageBox(_T("Could not set active cell value."));
+ return;
+ }
+ if (!excelObject.PutProperty(_T("ActiveCell.Font.Bold"), wxVariant(true)) )
+ {
+ wxMessageBox(_T("Could not put Bold property to active cell."));
+ return;
+ }