X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d45127a543b01fe66a5d94033f6730e057a78a9a..196a75d48d1076cfa0922720c1b840d495fe2f3d:/include/wx/msgout.h diff --git a/include/wx/msgout.h b/include/wx/msgout.h index 56b11a6244..b670f2b653 100644 --- a/include/wx/msgout.h +++ b/include/wx/msgout.h @@ -132,7 +132,7 @@ protected: // implementation which shows output in a message box // ---------------------------------------------------------------------------- -#if wxUSE_GUI +#if wxUSE_GUI && wxUSE_MSGDLG class WXDLLIMPEXP_CORE wxMessageOutputMessageBox : public wxMessageOutput { @@ -143,7 +143,7 @@ protected: virtual void Output(const wxString& str); }; -#endif // wxUSE_GUI +#endif // wxUSE_GUI && wxUSE_MSGDLG // ---------------------------------------------------------------------------- // implementation using the native way of outputting debug messages