// Created: 2004-10-19
// RCS-ID: $Id$
// Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
-// License: wxWindows license
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ============================================================================
#include "wx/stdpaths.h"
#ifndef WX_PRECOMP
+ #include "wx/app.h"
#include "wx/wxcrt.h"
#include "wx/utils.h"
#endif //WX_PRECOMP
// practice for running well-written (and so using wxStandardPaths to find
// their files) wx applications without installing them
static const wxString
- envOverride(getenv("WX_" + wxTheApp->GetAppName().Upper() + "_DATA_DIR"));
+ envOverride(
+ getenv(
+ ("WX_" + wxTheApp->GetAppName().Upper() + "_DATA_DIR").c_str()
+ )
+ );
if ( !envOverride.empty() )
return envOverride;