FILE *m_fp;
};
+#if wxUSE_STD_IOSTREAM
// log everything to an "ostream", cerr by default
class WXDLLEXPORT wxLogStream : public wxLog
{
// @@ using ptr here to avoid including <iostream.h> from this file
ostream *m_ostr;
};
+#endif
#ifndef wxUSE_NOGUI
+#if wxUSE_STD_IOSTREAM
// log everything to a text window (GUI only of course)
class WXDLLEXPORT wxLogTextCtrl : public wxLogStream
{
wxLogTextCtrl(wxTextCtrl *pTextCtrl);
~wxLogTextCtrl();
};
+#endif
// ----------------------------------------------------------------------------
// GUI log target, the default one for wxWindows programs