X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce336c6d76d8c513487af08857c1cd3cbe806d30..6a7dd4b3ab87dd870aadbe0148fbb81122ae97e4:/src/common/stdpbase.cpp diff --git a/src/common/stdpbase.cpp b/src/common/stdpbase.cpp index 58e9e4ebba..ab6b882ef6 100644 --- a/src/common/stdpbase.cpp +++ b/src/common/stdpbase.cpp @@ -27,6 +27,7 @@ #ifndef WX_PRECOMP #include "wx/app.h" #endif //WX_PRECOMP +#include "wx/apptrait.h" #include "wx/filename.h" #include "wx/stdpaths.h" @@ -42,7 +43,12 @@ static wxStandardPaths gs_stdPaths; // ============================================================================ /* static */ -wxStandardPaths& wxStandardPathsBase::Get() +wxStandardPathsBase& wxStandardPathsBase::Get() +{ + return wxTheApp->GetTraits()->GetStandardPaths(); +} + +wxStandardPathsBase& wxAppTraitsBase::GetStandardPaths() { return gs_stdPaths; }