m_backgroundColour = wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE);
m_backgroundColour.CalcPixel( (WXColormap) cm );
+ m_hasBgCol = TRUE;
m_foregroundColour = *wxBLACK;
m_foregroundColour.CalcPixel( (WXColormap) cm );
xdisplay, parentWindow,
x, y, w, h, 0,
m_backgroundColour.GetPixel(),
- m_foregroundColour.GetPixel() );
+ m_backgroundColour.GetPixel() );
m_mainWidget = (WXWindow) window;
{
m_clipPaintRegion = TRUE;
- if (!m_clearRegion.IsEmpty())
+ // if (!m_clearRegion.IsEmpty())
{
wxWindowDC dc( (wxWindow*)this );
dc.SetClippingRegion( m_clearRegion );
bool wxWindowX11::SetBackgroundColour(const wxColour& col)
{
- if ( !wxWindowBase::SetBackgroundColour(col) )
- return FALSE;
+ wxWindowBase::SetBackgroundColour(col);
if (!GetMainWindow())
return FALSE;