From ce39c39e1fb09f3bc4701e6b147f7b47f8ef2146 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 15 Jul 2003 20:49:39 +0000 Subject: [PATCH] we don't use wxUSE_FILENAME any longer git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/appbase.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index 216d9b8647..261fd0fa23 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -37,9 +37,7 @@ #include "wx/apptrait.h" #include "wx/cmdline.h" #include "wx/confbase.h" -#if wxUSE_FILENAME - #include "wx/filename.h" -#endif // wxUSE_FILENAME +#include "wx/filename.h" #include "wx/msgout.h" #include "wx/tokenzr.h" @@ -132,11 +130,7 @@ bool wxAppConsole::Initialize(int& argc, wxChar **argv) if ( m_appName.empty() && argv ) { // the application name is, by default, the name of its executable file -#if wxUSE_FILENAME wxFileName::SplitPath(argv[0], NULL, &m_appName, NULL); -#else // !wxUSE_FILENAME - m_appName = argv[0]; -#endif // wxUSE_FILENAME/!wxUSE_FILENAME } return true; -- 2.45.2