git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67256
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// should the focus be reset to the textctrl in idle time?
bool m_resetFocus;
// should the focus be reset to the textctrl in idle time?
bool m_resetFocus;
+ // is the text-area background colour overridden?
+ bool m_hasTcBgCol;
+
m_timeCanAcceptClick = 0;
m_resetFocus = false;
m_timeCanAcceptClick = 0;
m_resetFocus = false;
}
bool wxComboCtrlBase::Create(wxWindow *parent,
}
bool wxComboCtrlBase::Create(wxWindow *parent,
vattrs.colBg = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW);
#endif
vattrs.colBg = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW);
#endif
m_tcBgCol = vattrs.colBg;
#ifndef __WXMAC__
m_tcBgCol = vattrs.colBg;
#ifndef __WXMAC__
if ( m_text )
m_text->SetBackgroundColour(colour);
m_tcBgCol = colour;
if ( m_text )
m_text->SetBackgroundColour(colour);
m_tcBgCol = colour;
{
bgCol = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
}
{
bgCol = wxSystemSettings::GetColour(wxSYS_COLOUR_HIGHLIGHT);
}
+ else if ( m_hasTcBgCol )
{
// Honour the custom background colour
{
// Honour the custom background colour
- bgCol = GetBackgroundColour();