diff --git a/src/msw/stdpaths.cpp b/src/msw/stdpaths.cpp index d0271fe1e7..4ba9dc6d3c 100644 --- a/src/msw/stdpaths.cpp +++ b/src/msw/stdpaths.cpp @@ -24,6 +24,8 @@ #pragma hdrstop #endif +#if wxUSE_STDPATHS + #ifndef WX_PRECOMP #include "wx/app.h" #endif //WX_PRECOMP @@ -292,3 +294,4 @@ wxString wxStandardPathsWin16::GetUserConfigDir() const return wxGetHomeDir(); } +#endif // wxUSE_STDPATHS