Revert "Add temporary debugging code for HTML pagination test failure"

This reverts commit 0393940033 which is
not needed any longer after fixing AppVeyor test failure.
This commit is contained in:
Vadim Zeitlin 2018-07-25 13:47:43 +02:00
parent 6acd663190
commit 78edf14c88
3 changed files with 20 additions and 2 deletions

View File

@ -33,6 +33,7 @@ matrix:
branches: branches:
only: only:
- master
- WX_3_0_BRANCH - WX_3_0_BRANCH
notifications: notifications:

View File

@ -17,6 +17,25 @@ environment:
CONFIGURATION: DLL Release CONFIGURATION: DLL Release
ARCH: x64 ARCH: x64
wxUSE_STL: 1 wxUSE_STL: 1
- TOOLSET: nmake
VS: '9.0'
BUILD: release
ARCH: x86
wxUSE_STL: 0
- TOOLSET: nmake
VS: '14.0'
BUILD: debug
ARCH: amd64
wxUSE_STL: 1
- TOOLSET: mingw
wxUSE_STL: 0
- TOOLSET: msys2
MSYSTEM: MINGW32
- TOOLSET: cygwin
- TOOLSET: cmake
GENERATOR: 'Visual Studio 12'
SHARED: ON
CONFIGURATION: Release
clone_depth: 50 clone_depth: 50

View File

@ -33,7 +33,6 @@
#include "wx/wfstream.h" #include "wx/wfstream.h"
#include "wx/infobar.h" #include "wx/infobar.h"
#include "wx/crt.h"
// default font size of normal text (HTML font size 0) for printing, in points: // default font size of normal text (HTML font size 0) for printing, in points:
#define DEFAULT_PRINT_FONT_SIZE 12 #define DEFAULT_PRINT_FONT_SIZE 12
@ -160,7 +159,6 @@ int wxHtmlDCRenderer::FindNextPageBreak(int pos) const
wxCHECK_MSG( posNext > pos, wxNOT_FOUND, "Bug in AdjustPagebreak()" ); wxCHECK_MSG( posNext > pos, wxNOT_FOUND, "Bug in AdjustPagebreak()" );
} }
wxPrintf("HTML-DEBUG: Next page break after %d is %d\n", pos, posNext);
return posNext; return posNext;
} }