X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3870b2ff595ba4bb4f0397ace77ceeb9628e94d..cd5e9298159e58f57e05f3b76c9d4a45e1eefe12:/src/univ/statbox.cpp?ds=sidebyside diff --git a/src/univ/statbox.cpp b/src/univ/statbox.cpp index 3c8b948466..0f878f5685 100644 --- a/src/univ/statbox.cpp +++ b/src/univ/statbox.cpp @@ -58,6 +58,8 @@ bool wxStaticBox::Create(wxWindow *parent, if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) return FALSE; + m_hasDialogBackground = TRUE; + SetLabel(label); return TRUE;