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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user