merged 2.2 branch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2000-07-15 19:51:35 +00:00
parent 8a693e6e04
commit f6bcfd974e
1835 changed files with 237729 additions and 67990 deletions

View File

@@ -436,10 +436,10 @@ private:
static void usage()
{
wxString prog = g_argv[0];
wxString basename = prog.BeforeLast('/');
wxString basename = prog.AfterLast('/');
#ifdef __WXMSW__
if ( !basename )
basename = prog.BeforeLast('\\');
basename = prog.AfterLast('\\');
#endif
if ( !basename )
basename = prog;
@@ -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,6 +1939,12 @@ static const char *GetCurrentTime(const char *timeFormat)
/*
$Log$
Revision 1.11 2000/07/15 19:50:42 cvsuser
merged 2.2 branch
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