X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65e508482777277c429b8c522e1ff8050ff5cdc7..df7145da50005a9f512d8f3329b6ed2166e956d0:/include/wx/strconv.h diff --git a/include/wx/strconv.h b/include/wx/strconv.h index a329062f5c..ba1e84d579 100644 --- a/include/wx/strconv.h +++ b/include/wx/strconv.h @@ -58,19 +58,6 @@ public: WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc; -// ---------------------------------------------------------------------------- -// wxMBConvFile (for conversion to filenames) -// ---------------------------------------------------------------------------- - -class WXDLLEXPORT wxMBConvFile : public wxMBConv -{ -public: - 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; -}; - -WXDLLEXPORT_DATA(extern wxMBConvFile) wxConvFile; - // ---------------------------------------------------------------------------- // wxMBConvUTF7 (for conversion using UTF7 encoding) // ---------------------------------------------------------------------------- @@ -124,8 +111,11 @@ class WXDLLEXPORT wxCSConv : public wxMBConv { public: 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; @@ -143,6 +133,7 @@ private: bool m_deferred; }; +#define wxConvFile wxConvLocal WXDLLEXPORT_DATA(extern wxCSConv) wxConvLocal; WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;