Add temporary debugging code for HTML pagination test failure
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user