]> git.saurik.com Git - wxWidgets.git/commitdiff
removed redundant wxUSE_GUI checks
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 19 Jun 2003 23:43:01 +0000 (23:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 19 Jun 2003 23:43:01 +0000 (23:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/logg.cpp

index c1562b8150e5331cb3543acd8b437d3bdc658723..fb942ab149bbbf6e5b347a953ace12835c16b9bf 100644 (file)
   #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