X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/175bb578e0a23e7b2f71dfde16898c184e8a5467..d57b71603f98d9d8ace6167cd21f3fba777000f8:/src/os2/stdpaths.cpp diff --git a/src/os2/stdpaths.cpp b/src/os2/stdpaths.cpp index 86a91d3e0c..98cf196f24 100644 --- a/src/os2/stdpaths.cpp +++ b/src/os2/stdpaths.cpp @@ -20,6 +20,8 @@ // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#if wxUSE_STDPATHS + #ifdef __BORLANDC__ #pragma hdrstop #endif @@ -54,7 +56,7 @@ wxString wxStandardPaths::GetInstallPrefix() const { wxStandardPaths *self = wx_const_cast(wxStandardPaths *, this); - self->m_prefix = _T("/usr/local"); + self->m_prefix = _T("/usr/local"); } return m_prefix; } @@ -80,10 +82,12 @@ wxString wxStandardPaths::GetDataDir() const wxString wxStandardPaths::GetUserDataDir() const { - return AppendAppName(wxFileName::GetHomeDir() + _T("\\.")); + return AppendAppInfo(wxFileName::GetHomeDir() + _T("\\.")); } wxString wxStandardPaths::GetPluginsDir() const { return wxString(); } + +#endif // wxUSE_STDPATHS