WinHelpContentsFileName = new wxChar[300];
RefFileName = new wxChar[300];
- ColourTable.DeleteContents(true);
+ WX_CLEAR_LIST(wxList,ColourTable);
int n = 1;
switch (convertMode)
{
case TEX_RTF:
- wxStrcat(buf, (winHelp) ? _T("WinHelp RTF"), _T("linear RTF"));
+ wxStrcat(buf, (winHelp) ? _T("WinHelp RTF") : _T("linear RTF"));
break;
case TEX_HTML:
wxStrcat(buf, _T("HTML"));
ReadCustomMacros((wxChar*)path.c_str());
Go();
- if (runTwice)
+ if (runTwice)
{
Go();
}
/* This whole block of code is just wrong I think. It would behave
completely wrong under anything other than MSW due to the ELSE
with no statement, and the cout calls would fail under MSW, as
- the code in this block is compiled if !NO_GUI This code has been
+ the code in this block is compiled if !NO_GUI This code has been
here since v1.1 of this file too. - gt
else
#ifdef __WXMSW__
{
}
-Tex2RTFConnection::~Tex2RTFConnection(void)
-{
-}
-
bool SplitCommand(wxChar *data, wxChar *firstArg, wxChar *secondArg)
{
firstArg[0] = 0;