compilation fix for WXWIN_COMPATIBILITY_2_6==0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-09-01 12:46:17 +00:00
parent a01cbf0a7c
commit dcc40ba510

View File

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