X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3379ed3789e405f874d9db757d95346f1d378795..cd5e9298159e58f57e05f3b76c9d4a45e1eefe12:/src/univ/stattext.cpp?ds=inline diff --git a/src/univ/stattext.cpp b/src/univ/stattext.cpp index 589179cd9c..e09644b5b1 100644 --- a/src/univ/stattext.cpp +++ b/src/univ/stattext.cpp @@ -58,6 +58,8 @@ bool wxStaticText::Create(wxWindow *parent, { if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) return FALSE; + + m_hasDialogBackground = TRUE; SetLabel(label); SetBestSize(size);