added wxMBConv::Clone() to be able to copy conversion objects polymorphically

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-05 16:10:08 +00:00
parent 64f56529a8
commit d36c9347ea
7 changed files with 111 additions and 26 deletions

View File

@@ -26,7 +26,7 @@ public:
#else
wxDataInputStream(wxInputStream& s);
#endif
~wxDataInputStream(){}
~wxDataInputStream();
bool IsOk() { return m_input->IsOk(); }
@@ -83,7 +83,7 @@ protected:
wxInputStream *m_input;
bool m_be_order;
#if wxUSE_UNICODE
wxMBConv m_conv;
wxMBConv *m_conv;
#endif
DECLARE_NO_COPY_CLASS(wxDataInputStream)
@@ -97,7 +97,7 @@ public:
#else
wxDataOutputStream(wxOutputStream& s);
#endif
~wxDataOutputStream(){}
~wxDataOutputStream();
bool IsOk() { return m_output->IsOk(); }
@@ -157,7 +157,7 @@ protected:
wxOutputStream *m_output;
bool m_be_order;
#if wxUSE_UNICODE
wxMBConv m_conv;
wxMBConv *m_conv;
#endif
DECLARE_NO_COPY_CLASS(wxDataOutputStream)