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:
Alex Shvartzkop 2024-02-13 21:55:35 +01:00 committed by Vadim Zeitlin
parent 253cfa3a31
commit 9b97d3a308

View file

@ -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();