X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7da982c4ec7482410a235c6045ce4a57bc5dd762..abfcca57dd0d805ceec9e19c4be207614d79252a:/src/msw/textctrl.cpp diff --git a/src/msw/textctrl.cpp b/src/msw/textctrl.cpp index 1ec178c99f..4fdcde3e83 100644 --- a/src/msw/textctrl.cpp +++ b/src/msw/textctrl.cpp @@ -300,6 +300,8 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, if ( !MSWCreateControl(windowClass, msStyle, pos, size, value) ) return FALSE; + SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW)); + #if wxUSE_RICHEDIT if (m_isRich) {