- }
- if (!excelObject.PutProperty("ActiveCell.Value", "wxWindows automation test!"))
- {
- wxMessageBox("Could not set active cell value.");
- return;
- }
-#ifdef HAVE_BOOL
- if (!excelObject.PutProperty("ActiveCell.Font.Bold", wxVariant((bool) TRUE)) )
- {
- wxMessageBox("Could not put Bold property to active cell.");
- return;
- }
-#endif
+ }
+ 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;
+ }