From b12e6279d2620da75919e7c75e99ca2760847af5 Mon Sep 17 00:00:00 2001 From: Artur Wieczorek Date: Mon, 31 Jul 2017 23:24:17 +0200 Subject: [PATCH] Implement missing virtual function in generic wxStandardPaths MakeConfigFileName() is declared as a pure virtual function in the base class wxStandardPathsBase and has to be implemented in the derived class wxStandardPaths. This fixes compilation when wxUSE_STDPATHS==0. --- include/wx/stdpaths.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/wx/stdpaths.h b/include/wx/stdpaths.h index a7aa61c892..bbb5b72dcd 100644 --- a/include/wx/stdpaths.h +++ b/include/wx/stdpaths.h @@ -252,6 +252,9 @@ public: virtual wxString GetUserDataDir() const { return m_prefix; } virtual wxString GetPluginsDir() const { return m_prefix; } virtual wxString GetUserDir(Dir WXUNUSED(userDir)) const { return m_prefix; } + virtual wxString MakeConfigFileName(const wxString& basename, + ConfigFileConv WXUNUSED(conv)) const + { return m_prefix + wxS("/") + basename; } protected: // Ctor is protected because wxStandardPaths::Get() should always be used