don't use them in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47848
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// no default version since it does not make sense for binary data
#endif // wxUSE_BASE64
// no default version since it does not make sense for binary data
#endif // wxUSE_BASE64
+ // Causes ambiguities in VC++ 6 (at least)
+#if (!defined(__VISUALC__) || __VISUALC__ > 1200)
// read other types, for which wxFromString is defined
template <typename T>
bool Read(const wxString& key, T* value) const
// read other types, for which wxFromString is defined
template <typename T>
bool Read(const wxString& key, T* value) const
// convenience functions returning directly the value (we don't have them for
// int/double/bool as there would be ambiguities with the long one then)
// convenience functions returning directly the value (we don't have them for
// int/double/bool as there would be ambiguities with the long one then)
bool Write(const wxString& key, float value)
{ return DoWriteDouble(key, value); }
bool Write(const wxString& key, float value)
{ return DoWriteDouble(key, value); }
+ // Causes ambiguities in VC++ 6 (at least)
+#if (!defined(__VISUALC__) || __VISUALC__ > 1200)
// for other types, use wxToString()
template <typename T>
bool Write(const wxString& key, T const& value)
{ return Write(key, wxToString(value)); }
// for other types, use wxToString()
template <typename T>
bool Write(const wxString& key, T const& value)
{ return Write(key, wxToString(value)); }
// permanently writes all changes
virtual bool Flush(bool bCurrentOnly = false) = 0;
// permanently writes all changes
virtual bool Flush(bool bCurrentOnly = false) = 0;