move virtual GetPath() implementation out of line to work around an apparent Fedora g++ 4.x bug (see #10791)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -153,7 +153,7 @@ public:
|
||||
|
||||
// implement inherited pure virtual functions
|
||||
virtual void SetPath(const wxString& strPath);
|
||||
virtual const wxString& GetPath() const { return m_strPath; }
|
||||
virtual const wxString& GetPath() const;
|
||||
|
||||
virtual bool GetFirstGroup(wxString& str, long& lIndex) const;
|
||||
virtual bool GetNextGroup (wxString& str, long& lIndex) const;
|
||||
|
@@ -746,6 +746,11 @@ void wxFileConfig::SetPath(const wxString& strPath)
|
||||
DoSetPath(strPath, true /* create missing path components */);
|
||||
}
|
||||
|
||||
const wxString& wxFileConfig::GetPath() const
|
||||
{
|
||||
return m_strPath;
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// enumeration
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user