X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/184b5d99a5382cd7a19888c85aff11f8a21af2f6..2d120f8391920145647ec10e84629bc21fa9f1bb:/include/wx/log.h diff --git a/include/wx/log.h b/include/wx/log.h index 32c9b1f0e8..ec849d8df9 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -180,6 +180,7 @@ private: FILE *m_fp; }; +#if wxUSE_STD_IOSTREAM // log everything to an "ostream", cerr by default class WXDLLEXPORT wxLogStream : public wxLog { @@ -194,9 +195,11 @@ protected: // @@ using ptr here to avoid including 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 { @@ -205,6 +208,7 @@ public: wxLogTextCtrl(wxTextCtrl *pTextCtrl); ~wxLogTextCtrl(); }; +#endif // ---------------------------------------------------------------------------- // GUI log target, the default one for wxWindows programs