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