]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/iniconf.cpp
don't use wxString::FromASCII() with possibly non-ASCII strings (fixes asserts when...
[wxWidgets.git] / src / msw / iniconf.cpp
index b9a1a09887aeb95db2af298e27bbc317e3b53597..b56e88db4adbc285e39f9d624d7c69f083428165 100644 (file)
@@ -16,7 +16,7 @@
     #pragma hdrstop
 #endif
 
-#if wxUSE_CONFIG
+#if wxUSE_INICONF
 
 #ifndef   WX_PRECOMP
     #include "wx/msw/wrapwin.h"
@@ -360,6 +360,22 @@ bool wxIniConfig::DoWriteLong(const wxString& szKey, long lValue)
   return Write(szKey, wxString::Format(_T("%ld"), lValue));
 }
 
+bool wxIniConfig::DoReadBinary(const wxString& WXUNUSED(key),
+                               wxMemoryBuffer * WXUNUSED(buf)) const
+{
+    wxFAIL_MSG("not implemented");
+
+    return false;
+}
+
+bool wxIniConfig::DoWriteBinary(const wxString& WXUNUSED(key),
+                                const wxMemoryBuffer& WXUNUSED(buf))
+{
+    wxFAIL_MSG("not implemented");
+
+    return false;
+}
+
 bool wxIniConfig::Flush(bool /* bCurrentOnly */)
 {
   // this is just the way it works
@@ -455,4 +471,4 @@ bool wxIniConfig::RenameGroup(const wxString& WXUNUSED(oldName),
     return false;
 }
 
-#endif // wxUSE_CONFIG
+#endif // wxUSE_INICONF