+#endif // wxUSE_HELP
+
+ if (BigBuffer)
+ {
+ delete BigBuffer;
+ BigBuffer = NULL;
+ }
+ if (currentArgData)
+ {
+ delete currentArgData;
+ currentArgData = NULL;
+ }
+ if (TexFileRoot)
+ {
+ delete TexFileRoot;
+ TexFileRoot = NULL;
+ }
+ if (TexBibName)
+ {
+ delete TexBibName;
+ TexBibName = NULL;
+ }
+ if (TexTmpBibName)
+ {
+ delete TexTmpBibName;
+ TexTmpBibName = NULL;
+ }
+ if (FileRoot)
+ {
+ delete FileRoot;
+ FileRoot = NULL;
+ }
+ if (ContentsName)
+ {
+ delete ContentsName;
+ ContentsName = NULL;
+ }
+ if (TmpContentsName)
+ {
+ delete TmpContentsName;
+ TmpContentsName = NULL;
+ }
+ if (TmpFrameContentsName)
+ {
+ delete TmpFrameContentsName;
+ TmpFrameContentsName = NULL;
+ }
+ if (WinHelpContentsFileName)
+ {
+ delete WinHelpContentsFileName;
+ WinHelpContentsFileName = NULL;
+ }
+ if (RefFileName)
+ {
+ delete RefFileName;
+ RefFileName = NULL;
+ }
+ if (TopLevel)
+ {
+ delete TopLevel;
+ TopLevel = NULL;
+ }
+ if (MacroFile)
+ {
+ delete MacroFile;
+ MacroFile = NULL;
+ }
+ if (RTFCharset)
+ {
+ delete RTFCharset;
+ RTFCharset = NULL;
+ }
+
+ delete [] PageStyle;
+ delete [] BibliographyStyleString;
+ delete [] DocumentStyleString;
+ delete [] bitmapMethod;
+ delete [] backgroundColourString;
+ delete [] ContentsNameString;
+ delete [] AbstractNameString;
+ delete [] GlossaryNameString;
+ delete [] ReferencesNameString;
+ delete [] FiguresNameString;
+ delete [] TablesNameString;
+ delete [] FigureNameString;
+ delete [] TableNameString;
+ delete [] IndexNameString;
+ delete [] ChapterNameString;
+ delete [] SectionNameString;
+ delete [] SubsectionNameString;
+ delete [] SubsubsectionNameString;
+ delete [] UpNameString;
+ if (winHelpTitle)
+ delete[] winHelpTitle;