- wxCSConv(const wxChar *charset);
- virtual ~wxCSConv();
- void LoadNow();
- virtual size_t MB2WC(wchar_t *buf, const char *psz, size_t n) const;
- virtual size_t WC2MB(char *buf, const wchar_t *psz, size_t n) const;
+ wxCSConv(const wxChar *charset);
+ wxCSConv(const wxCSConv& conv);
+ virtual ~wxCSConv();
+
+ wxCSConv& operator=(const wxCSConv& conv);
+
+ void LoadNow();
+
+ virtual size_t MB2WC(wchar_t *buf, const char *psz, size_t n) const;
+ virtual size_t WC2MB(char *buf, const wchar_t *psz, size_t n) const;
+
+ void Clear() ;
+
+private:
+ void SetName(const wxChar *charset);
+
+ // note that we can't use wxString here because of compilation
+ // dependencies: we're included from wx/string.h
+ wxChar *m_name;
+ wxCharacterSet *m_cset;
+ bool m_deferred;