Add semi-private wxHtmlCell::Dump()

This is useful to see the results of wxHTML layout algorithm.

Closes https://github.com/wxWidgets/wxWidgets/pull/1429
This commit is contained in:
Vadim Zeitlin
2019-07-18 17:02:18 +02:00
parent 8f386265dc
commit e2332f2703
3 changed files with 63 additions and 0 deletions

View File

@@ -310,6 +310,12 @@ public:
virtual void Layout(int w) wxOVERRIDE;
virtual wxString GetDescription() const wxOVERRIDE
{
return wxString::Format("wxHtmlImageCell with bitmap of size %d*%d",
m_bmpW, m_bmpH);
}
private:
wxBitmap *m_bitmap;
int m_align;