X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de303444986fc3894e258708b2390b03937b57ed..180b5b4827d08f1ac13bbb5eca03f775ab35a0b1:/src/msw/stdpaths.cpp diff --git a/src/msw/stdpaths.cpp b/src/msw/stdpaths.cpp index 611d49a198..37c0c9748a 100644 --- a/src/msw/stdpaths.cpp +++ b/src/msw/stdpaths.cpp @@ -50,7 +50,7 @@ typedef HRESULT (WINAPI *SHGetSpecialFolderPath_t)(HWND, LPTSTR, int, BOOL); // ---------------------------------------------------------------------------- // used in our wxLogTrace messages -static const wxChar *TRACE_MASK = _T("stdpaths"); +#define TRACE_MASK _T("stdpaths") #ifndef CSIDL_APPDATA #define CSIDL_APPDATA 0x001a @@ -274,6 +274,11 @@ wxString wxStandardPaths::GetDocumentsDir() const // public functions // ---------------------------------------------------------------------------- +wxString wxStandardPaths::GetExecutablePath() const +{ + return wxGetFullModuleName(); +} + wxString wxStandardPaths::GetConfigDir() const { return AppendAppName(DoGetDirectory(CSIDL_COMMON_APPDATA));