X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd107c50be43e8d4dbdba20df162faf119a3781c..32b8ec418aee4e38877d4cb79e2984c766dcc358:/include/wx/log.h diff --git a/include/wx/log.h b/include/wx/log.h index a47fff3c3d..db1f30d5d1 100644 --- a/include/wx/log.h +++ b/include/wx/log.h @@ -268,6 +268,8 @@ protected: #if wxUSE_GUI +#if wxUSE_TEXTCTRL + // log everything to a text window (GUI only of course) class WXDLLEXPORT wxLogTextCtrl : public wxLog { @@ -282,9 +284,14 @@ private: wxTextCtrl *m_pTextCtrl; }; +#endif // wxUSE_TEXTCTRL + // ---------------------------------------------------------------------------- // GUI log target, the default one for wxWindows programs // ---------------------------------------------------------------------------- + +#if wxUSE_LOGGUI + class WXDLLEXPORT wxLogGui : public wxLog { public: @@ -307,12 +314,17 @@ protected: m_bWarnings; // any warnings? }; +#endif // wxUSE_LOGGUI + // ---------------------------------------------------------------------------- // (background) log window: this class forwards all log messages to the log // target which was active when it was instantiated, but also collects them // to the log window. This window has it's own menu which allows the user to // close it, clear the log contents or save it to the file. // ---------------------------------------------------------------------------- + +#if wxUSE_LOGWINDOW + class WXDLLEXPORT wxLogWindow : public wxLog { public: @@ -366,6 +378,8 @@ private: wxLogFrame *m_pLogFrame; // the log frame }; +#endif // wxUSE_LOGWINDOW + #endif // wxUSE_GUI // ----------------------------------------------------------------------------