git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22007
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/apptrait.h"
#include "wx/cmdline.h"
#include "wx/confbase.h"
#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"
#include "wx/msgout.h"
#include "wx/tokenzr.h"
if ( m_appName.empty() && argv )
{
// the application name is, by default, the name of its executable file
if ( m_appName.empty() && argv )
{
// the application name is, by default, the name of its executable file
wxFileName::SplitPath(argv[0], NULL, &m_appName, NULL);
wxFileName::SplitPath(argv[0], NULL, &m_appName, NULL);
-#else // !wxUSE_FILENAME
- m_appName = argv[0];
-#endif // wxUSE_FILENAME/!wxUSE_FILENAME