- wxConcatFiles("header.rtf", "chapters.rtf", "tmp1.rtf");
- Tex2RTFYield(TRUE);
- wxConcatFiles("tmp1.rtf", "sections.rtf", "tmp2.rtf");
- Tex2RTFYield(TRUE);
- wxConcatFiles("tmp2.rtf", "subsections.rtf", "tmp3.rtf");
- Tex2RTFYield(TRUE);
- wxConcatFiles("tmp3.rtf", "subsubsections.rtf", "tmp4.rtf");
- Tex2RTFYield(TRUE);
- wxConcatFiles("tmp4.rtf", "popups.rtf", OutputFile);
- Tex2RTFYield(TRUE);
-
- wxRemoveFile("tmp1.rtf");
- wxRemoveFile("tmp2.rtf");
- wxRemoveFile("tmp3.rtf");
- wxRemoveFile("tmp4.rtf");
+ wxConcatFiles(_T("header.rtf"), _T("chapters.rtf"), _T("tmp1.rtf"));
+ Tex2RTFYield(true);
+ wxConcatFiles(_T("tmp1.rtf"), _T("sections.rtf"), _T("tmp2.rtf"));
+ Tex2RTFYield(true);
+ wxConcatFiles(_T("tmp2.rtf"), _T("subsections.rtf"), _T("tmp3.rtf"));
+ Tex2RTFYield(true);
+ wxConcatFiles(_T("tmp3.rtf"), _T("subsubsections.rtf"), _T("tmp4.rtf"));
+ Tex2RTFYield(true);
+ wxConcatFiles(_T("tmp4.rtf"), _T("popups.rtf"), OutputFile);
+ Tex2RTFYield(true);
+
+ wxRemoveFile(_T("tmp1.rtf"));
+ wxRemoveFile(_T("tmp2.rtf"));
+ wxRemoveFile(_T("tmp3.rtf"));
+ wxRemoveFile(_T("tmp4.rtf"));