build fixes for wxUSE_LOG==0 (modified patch 1450207)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-04-16 22:29:47 +00:00
parent f516d98637
commit d0914b9d8d
2 changed files with 5 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ static inline wxUint32 CrackUint32(const char *m)
//
static wxFileOffset QuietSeek(wxInputStream& stream, wxFileOffset pos)
{
#ifdef __WXDEBUG__
#if defined(__WXDEBUG__) && wxUSE_LOG
wxLogLevel level = wxLog::GetLogLevel();
wxLog::SetLogLevel(wxLOG_Debug - 1);
wxFileOffset result = stream.SeekI(pos);