From bcfc655bcaf9574a34e13d8e0179c0dceb5e8690 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 27 Mar 2000 15:29:32 +0000 Subject: [PATCH] a usage msg cosemtic fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/HelpGen/src/HelpGen.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/utils/HelpGen/src/HelpGen.cpp b/utils/HelpGen/src/HelpGen.cpp index 97ee2dcf7a..f754d7b351 100644 --- a/utils/HelpGen/src/HelpGen.cpp +++ b/utils/HelpGen/src/HelpGen.cpp @@ -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; @@ -1938,6 +1938,9 @@ 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 2000/03/11 10:05:23 VS now compiles with wxBase