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.
This commit is contained in:
parent
e2b937270a
commit
b12e6279d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user