From ba5aa38cad60125d8010999457fcee8d6dabea97 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 5 Mar 2002 00:32:46 +0000 Subject: [PATCH] added missing default values for the 2nd argument of DeleteEntry() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/fileconf.h | 2 +- include/wx/msw/iniconf.h | 2 +- include/wx/msw/regconf.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/fileconf.h b/include/wx/fileconf.h index 911c7bbd0a..f67f290dfb 100644 --- a/include/wx/fileconf.h +++ b/include/wx/fileconf.h @@ -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(); diff --git a/include/wx/msw/iniconf.h b/include/wx/msw/iniconf.h index 4fa4405a6d..22e141149e 100644 --- a/include/wx/msw/iniconf.h +++ b/include/wx/msw/iniconf.h @@ -70,7 +70,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(); diff --git a/include/wx/msw/regconf.h b/include/wx/msw/regconf.h index dc33f73841..960d098f82 100644 --- a/include/wx/msw/regconf.h +++ b/include/wx/msw/regconf.h @@ -70,7 +70,7 @@ public: virtual bool RenameGroup(const wxString& oldName, const wxString& newName); // delete - virtual bool DeleteEntry(const wxString& key, bool bGroupIfEmptyAlso); + virtual bool DeleteEntry(const wxString& key, bool bGroupIfEmptyAlso = TRUE); virtual bool DeleteGroup(const wxString& key); virtual bool DeleteAll(); -- 2.45.2