X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b9ab0bd824b6b9c93849928d67de1ec71e7c167..6c99908c512489b614fb7a4fb010b1d6c2a6857e:/include/wx/fileconf.h diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index 911c7bbd0a..b0e0b0b917 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -13,7 +13,7 @@ #ifndef _FILECONF_H #define _FILECONF_H -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "fileconf.h" #endif @@ -158,7 +158,7 @@ public: virtual bool RenameEntry(const wxString& oldName, const wxString& newName); virtual bool RenameGroup(const wxString& oldName, const wxString& newName); - virtual bool DeleteEntry(const wxString& key, bool bGroupIfEmptyAlso); + virtual bool DeleteEntry(const wxString& key, bool bGroupIfEmptyAlso = TRUE); virtual bool DeleteGroup(const wxString& szKey); virtual bool DeleteAll(); @@ -210,6 +210,8 @@ private: #ifdef __UNIX__ int m_umask; // the umask to use for file creation #endif // __UNIX__ + + DECLARE_NO_COPY_CLASS(wxFileConfig) }; #endif