X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed38ec7e34f67904c055f3472939b4c94c9414bd..fed485e0946d9cff74fce6afdb169796d90a99f2:/utils/HelpGen/src/HelpGen.cpp diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index d4bb767050..28f36a2f01 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -40,10 +40,11 @@ #ifndef WX_PRECOMP #include #include - #include #include #endif // WX_PRECOMP +#include + // C++ parsing classes #include "cjparser.h" @@ -69,6 +70,10 @@ static wxString GetAllComments(const spContext& ctx); // get the string with current time (returns pointer to static buffer) // timeFormat is used for the call of strftime(3) +#ifdef GetCurrentTime +#undef GetCurrentTime +#endif + static const char *GetCurrentTime(const char *timeFormat); // ----------------------------------------------------------------------------- @@ -424,8 +429,8 @@ void HelpGenVisitor::VisitClass( spClass& cl ) } wxString baseclass = *i; - derived << "\\helpref{" << baseclass << "}" - "{ " << baseclass.MakeLower() << "}"; + derived << "\\helpref{" << baseclass << "}"; + derived << "{" << baseclass.MakeLower() << "}"; } } totalText << derived << "\n\n"; @@ -569,7 +574,7 @@ void HelpGenVisitor::VisitOperation( spOperation& op ) funcname = dtor; } - totalText.Printf("\\membersection{%s::%s}\\label{%s}\n" + totalText.Printf("\\membersection{%s::%s}\\label{%s}\n\n" "\\%sfunc{%s%s}{%s}{", classname, funcname, MakeLabel(classname, funcname).c_str(),