X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45c2881542b6761d5c71bf0585347996fd7d2fdb..6a6c0a8bdadc52e87e6d1e315d1bf6f192880bd0:/include/wx/msw/regconf.h?ds=sidebyside diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index fed7e2b50b..7277dff7f7 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -12,6 +12,10 @@ #ifndef _REGCONF_H #define _REGCONF_H +#ifdef __GNUG__ +#pragma interface "regconf.h" +#endif + // ---------------------------------------------------------------------------- // wxRegConfig // ---------------------------------------------------------------------------- @@ -43,7 +47,7 @@ public: virtual bool Read(long&, const char *, long = 0) const; virtual bool Write(const char *szKey, const char *szValue); virtual bool Write(const char *szKey, long Value); - virtual bool Flush(bool /* bCurrentOnly = FALSE */ ) { return true; } + virtual bool Flush(bool /* bCurrentOnly = FALSE */ ) { return TRUE; } // delete virtual bool DeleteEntry(const char *szKey, bool bGroupIfEmptyAlso); @@ -59,4 +63,4 @@ private: wxString m_strPath; }; -#endif //_REGCONF_H \ No newline at end of file +#endif //_REGCONF_H