don't trasnform output dir name to lower case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -788,7 +788,7 @@ void HelpGenVisitor::VisitClass( spClass& cl )
|
|||||||
|
|
||||||
// the file name is built from the class name by removing the leading "wx"
|
// the file name is built from the class name by removing the leading "wx"
|
||||||
// if any and converting it to the lower case
|
// if any and converting it to the lower case
|
||||||
wxString filename = m_directoryOut;
|
wxString filename;
|
||||||
if ( name(0, 2) == "wx" ) {
|
if ( name(0, 2) == "wx" ) {
|
||||||
filename << name.c_str() + 2;
|
filename << name.c_str() + 2;
|
||||||
}
|
}
|
||||||
@@ -798,6 +798,7 @@ void HelpGenVisitor::VisitClass( spClass& cl )
|
|||||||
|
|
||||||
filename.MakeLower();
|
filename.MakeLower();
|
||||||
filename += ".tex";
|
filename += ".tex";
|
||||||
|
filename.Prepend(m_directoryOut);
|
||||||
|
|
||||||
if ( !m_overwrite && wxFile::Exists(filename) ) {
|
if ( !m_overwrite && wxFile::Exists(filename) ) {
|
||||||
wxLogError("Won't overwrite existing file '%s' - please use '-f'.",
|
wxLogError("Won't overwrite existing file '%s' - please use '-f'.",
|
||||||
@@ -1938,8 +1939,8 @@ static const char *GetCurrentTime(const char *timeFormat)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.10.2.1 2000/03/27 15:29:32 VZ
|
Revision 1.10.2.2 2000/03/27 15:33:10 VZ
|
||||||
a usage msg cosemtic fix
|
don't trasnform output dir name to lower case
|
||||||
|
|
||||||
Revision 1.10 2000/03/11 10:05:23 VS
|
Revision 1.10 2000/03/11 10:05:23 VS
|
||||||
now compiles with wxBase
|
now compiles with wxBase
|
||||||
|
Reference in New Issue
Block a user