diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index 4bbf12d12a..2317d2bfb5 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -322,7 +322,6 @@ bool wxSearchCtrl::Create(wxWindow *parent, wxWindowID id, wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, m_cancelBitmap); - SetForegroundColour( m_text->GetForegroundColour() ); SetBackgroundColour( m_text->GetBackgroundColour() ); RecalcBitmaps();