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:
Vadim Zeitlin
2009-05-15 18:02:41 +00:00
parent f9dcd25dbc
commit d8a7829312
2 changed files with 6 additions and 1 deletions

View File

@@ -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;

View File

@@ -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
// ----------------------------------------------------------------------------