overload Write() for char and unsigned char too, otherwise code writing them fails due to lack of exact match and absence of overloaded wxToString()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-06-15 23:38:11 +00:00
parent 1530fc0958
commit fafb2b0531

View File

@ -276,6 +276,12 @@ public:
// we also have to provide specializations for other types which we want to // we also have to provide specializations for other types which we want to
// handle using the specialized DoWriteXXX() instead of the generic template // handle using the specialized DoWriteXXX() instead of the generic template
// version below // 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) bool Write(const wxString& key, short value)
{ return DoWriteLong(key, value); } { return DoWriteLong(key, value); }