From: Vadim Zeitlin Date: Fri, 15 May 2009 18:02:41 +0000 (+0000) Subject: move virtual GetPath() implementation out of line to work around an apparent Fedora... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d8a7829312e4fa8e67950f68eafa5d507b4e9826 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 --- diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index c86af998c2..c3dfb5d772 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -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; diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index e3b61cf806..af20d35358 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -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 // ----------------------------------------------------------------------------