Fix generic wxSearchCtrl background colour in wxQt
Set the background colour of the whole control to the text control background colour.
This commit is contained in:
parent
253cfa3a31
commit
9b97d3a308
1 changed files with 1 additions and 1 deletions
|
|
@ -306,8 +306,8 @@ bool wxSearchCtrl::Create(wxWindow *parent, wxWindowID id,
|
|||
wxEVT_SEARCH,
|
||||
m_searchBitmap);
|
||||
|
||||
SetBackgroundColour( m_text->GetBackgroundColour() );
|
||||
m_text->SetBackgroundColour(wxColour());
|
||||
SetBackgroundColour( m_text->GetBackgroundColour() );
|
||||
|
||||
RecalcBitmaps();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue