]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/log.cpp
cleanup for 10.5
[wxWidgets.git] / 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 ) {