X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/583d7e555ec0565e0df87a2c1bac75c278649aef..3e2656801d825761f55ea9b0b766802c6cd32f1d:/src/common/wincmn.cpp?ds=sidebyside diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index f6551938a2..c4fba2a8ab 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -152,6 +152,8 @@ wxWindowBase::wxWindowBase() // no style bits m_exStyle = m_windowStyle = 0; + + m_backgroundStyle = wxBG_STYLE_SYSTEM; #if wxUSE_CONSTRAINTS // no constraints whatsoever