diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 9ed802bd35..3ecf9e17f9 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -337,7 +337,7 @@ class WXDLLEXPORT wxStreamToTextRedirector { public: wxStreamToTextRedirector(wxTextCtrl *text, wxSTD ostream *ostr = NULL) - : m_ostr(ostr ? *ostr : wxSTD::cout) + : m_ostr(ostr ? *ostr : wxSTD cout) { m_sbufOld = m_ostr.rdbuf(); m_ostr.rdbuf(text);