Add temporary debugging code for HTML pagination test failure

This commit is contained in:
Vadim Zeitlin
2018-06-20 23:34:42 +02:00
parent 905789485a
commit 0393940033
3 changed files with 2 additions and 20 deletions

View File

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

View File

@@ -17,25 +17,6 @@ environment:
CONFIGURATION: DLL Release
ARCH: x64
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

View File

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