]> git.saurik.com Git - wxWidgets.git/commitdiff
overload Write() for char and unsigned char too, otherwise code writing them fails...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Jun 2008 23:38:11 +0000 (23:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 15 Jun 2008 23:38:11 +0000 (23:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/confbase.h

index 5192df40dbd4b8ed38f6cd61311df27987ba1dbe..91871da380e1762fe05e7ca2d6ce2143cf6f920d 100644 (file)
@@ -276,6 +276,12 @@ public:
   // we also have to provide specializations for other types which we want to
   // handle using the specialized DoWriteXXX() instead of the generic template
   // version below
+  bool Write(const wxString& key, char value)
+    { return DoWriteLong(key, value); }
+
+  bool Write(const wxString& key, unsigned char value)
+    { return DoWriteLong(key, value); }
+
   bool Write(const wxString& key, short value)
     { return DoWriteLong(key, value); }