diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index f754d7b351..c59588cde7 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -788,7 +788,7 @@ void HelpGenVisitor::VisitClass( spClass& cl ) // the file name is built from the class name by removing the leading "wx" // if any and converting it to the lower case - wxString filename = m_directoryOut; + wxString filename; if ( name(0, 2) == "wx" ) { filename << name.c_str() + 2; } @@ -798,6 +798,7 @@ void HelpGenVisitor::VisitClass( spClass& cl ) filename.MakeLower(); filename += ".tex"; + filename.Prepend(m_directoryOut); if ( !m_overwrite && wxFile::Exists(filename) ) { wxLogError("Won't overwrite existing file '%s' - please use '-f'.", @@ -1938,8 +1939,8 @@ static const char *GetCurrentTime(const char *timeFormat) /* $Log$ - Revision 1.10.2.1 2000/03/27 15:29:32 VZ - a usage msg cosemtic fix + Revision 1.10.2.2 2000/03/27 15:33:10 VZ + don't trasnform output dir name to lower case Revision 1.10 2000/03/11 10:05:23 VS now compiles with wxBase