]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/textctrl.cpp
Committing in .
[wxWidgets.git] / src / msw / textctrl.cpp
index 1ec178c99f522b72c84f286ac9bdaaf7add96575..4fdcde3e8332d4c46197c3a7e693c8ba193b4e82 100644 (file)
@@ -300,6 +300,8 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
     if ( !MSWCreateControl(windowClass, msStyle, pos, size, value) )
         return FALSE;
 
     if ( !MSWCreateControl(windowClass, msStyle, pos, size, value) )
         return FALSE;
 
+    SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW));
+
 #if wxUSE_RICHEDIT
     if (m_isRich)
     {
 #if wxUSE_RICHEDIT
     if (m_isRich)
     {