]> git.saurik.com Git - wxWidgets.git/commitdiff
DisableSaving/Restoring() should be void, not bool
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Jan 2009 22:10:14 +0000 (22:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 30 Jan 2009 22:10:14 +0000 (22:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/persist.h

index 7e331b6480ebb6f4c93240a5114f2a01975bfaaf..23cf0691db510e693cd6a92e6b218094c38be182 100644 (file)
@@ -50,8 +50,8 @@ public:
 \r
     // globally disable restoring or saving the persistent properties (both are\r
     // enabled by default)\r
-    bool DisableSaving() { m_doSave = false; }\r
-    bool DisableRestoring() { m_doRestore = false; }\r
+    void DisableSaving() { m_doSave = false; }\r
+    void DisableRestoring() { m_doRestore = false; }\r
 \r
 \r
     // register an object with the manager: when using the first overload,\r