]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/strconv.h
added wxWeakRef<T> (slightly modified patch 1860953)
[wxWidgets.git] / include / wx / strconv.h
index 1edf4f5082c7af2cc1bea6139feb0440ca5410bb..96dc8d8a70b1511ab7b1dee9a78f43f94f55f139 100644 (file)
@@ -290,8 +290,11 @@ public:
     };
 
     wxMBConvUTF8(int options = MAP_INVALID_UTF8_NOT) : m_options(options) { }
-    virtual size_t MB2WC(wchar_t *outputBuf, const char *psz, size_t outputSize) const;
-    virtual size_t WC2MB(char *outputBuf, const wchar_t *psz, size_t outputSize) const;
+
+    virtual size_t ToWChar(wchar_t *dst, size_t dstLen,
+                           const char *src, size_t srcLen = wxNO_LEN) const;
+    virtual size_t FromWChar(char *dst, size_t dstLen,
+                             const wchar_t *src, size_t srcLen = wxNO_LEN) const;
 
     virtual wxMBConv *Clone() const { return new wxMBConvUTF8(m_options); }