/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "winpars.h"
#endif
#include "wx/html/htmlwin.h"
#include "wx/fontmap.h"
#include "wx/log.h"
+#include "wx/settings.h"
//-----------------------------------------------------------------------------
#endif
m_Container->InsertCell(new wxHtmlColourCell(m_ActualColor));
+ wxColour windowColour = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW) ;
+ m_Container->InsertCell(
+ new wxHtmlColourCell(GetWindow() ?
+ GetWindow()->GetBackgroundColour() :
+ windowColour,
+ wxHTML_CLR_BACKGROUND));
m_Container->InsertCell(new wxHtmlFontCell(CreateCurrentFont()));
}
top = m_Container;
while (top->GetParent()) top = top->GetParent();
+ top->RemoveExtraSpacing(true, true);
+
return top;
}