]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for WXWIN_COMPATIBILITY_2_6==0
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Sep 2006 12:46:17 +0000 (12:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 1 Sep 2006 12:46:17 +0000 (12:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/log.cpp

index affdec61cbe638c8ed7971dd2eb9c03c4593a3f5..c4d3ef212b5744023f02a31066af368d2bf0f397 100644 (file)
@@ -340,11 +340,15 @@ void wxLog::OnLog(wxLogLevel level, const wxChar *szString, time_t t)
 }
 
 // deprecated function
+#if WXWIN_COMPATIBILITY_2_6
+
 wxChar *wxLog::SetLogBuffer(wxChar * WXUNUSED(buf), size_t WXUNUSED(size))
 {
     return NULL;
 }
 
+#endif // WXWIN_COMPATIBILITY_2_6
+
 wxLog *wxLog::GetActiveTarget()
 {
     if ( ms_bAutoCreate && ms_pLogger == NULL ) {