git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24740
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
class WXDLLEXPORT wxStreamToTextRedirector
{
private:
class WXDLLEXPORT wxStreamToTextRedirector
{
private:
+ void Init(wxTextCtrl *text)
{
m_sbufOld = m_ostr.rdbuf();
m_ostr.rdbuf(text);
{
m_sbufOld = m_ostr.rdbuf();
m_ostr.rdbuf(text);
wxStreamToTextRedirector(wxTextCtrl *text)
: m_ostr(wxSTD cout)
{
wxStreamToTextRedirector(wxTextCtrl *text)
: m_ostr(wxSTD cout)
{
}
wxStreamToTextRedirector(wxTextCtrl *text, wxSTD ostream *ostr)
: m_ostr(*ostr)
{
}
wxStreamToTextRedirector(wxTextCtrl *text, wxSTD ostream *ostr)
: m_ostr(*ostr)
{
}
~wxStreamToTextRedirector()
}
~wxStreamToTextRedirector()
//
// ATTN: you can _not_ use both of these in the same program!
//
// ATTN: you can _not_ use both of these in the same program!
wxSTD istream& operator>>(wxSTD istream& is, wxString& WXUNUSED(str))
{
#if 0
wxSTD istream& operator>>(wxSTD istream& is, wxString& WXUNUSED(str))
{
#if 0