From 0393940033976973c76bab8997112a2c7383e459 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 20 Jun 2018 23:34:42 +0200 Subject: [PATCH] Add temporary debugging code for HTML pagination test failure --- .travis.yml | 1 - appveyor.yml | 19 ------------------- src/html/htmprint.cpp | 2 ++ 3 files changed, 2 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 790f5aca76..aa86540a5e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,6 @@ matrix: branches: only: - - master - WX_3_0_BRANCH notifications: diff --git a/appveyor.yml b/appveyor.yml index 5b3d335e05..1361fa8a23 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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 diff --git a/src/html/htmprint.cpp b/src/html/htmprint.cpp index ba1f31b016..4de883fc2c 100644 --- a/src/html/htmprint.cpp +++ b/src/html/htmprint.cpp @@ -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; }