removed redundant wxUSE_GUI checks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-19 23:43:01 +00:00
parent a6ab05be98
commit f561a4e09c

View File

@@ -27,10 +27,6 @@
#pragma hdrstop
#endif
#if !wxUSE_GUI
#error "This file can't be compiled without GUI!"
#endif
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/button.h"
@@ -1150,7 +1146,7 @@ static int OpenLogFile(wxFile& file, wxString *pFilename)
#endif // !(wxUSE_LOGGUI || wxUSE_LOGWINDOW)
#if wxUSE_LOG && wxUSE_GUI && wxUSE_TEXTCTRL
#if wxUSE_LOG && wxUSE_TEXTCTRL
// ----------------------------------------------------------------------------
// wxLogTextCtrl implementation
@@ -1177,6 +1173,5 @@ void wxLogTextCtrl::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
m_pTextCtrl->AppendText(msg);
}
#endif // wxUSE_LOG && wxUSE_GUI && wxUSE_TEXTCTRL
#endif // wxUSE_LOG && wxUSE_TEXTCTRL
// vi:sts=4:sw=4:et