X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/62e1ba759a61210a7facf7b9de39fc8bf0f4b479..174911cfd60f5cde1f1ebc78df0a8b8ff648a197:/src/univ/checkbox.cpp diff --git a/src/univ/checkbox.cpp b/src/univ/checkbox.cpp index c9a95a6318..c15ebca4ba 100644 --- a/src/univ/checkbox.cpp +++ b/src/univ/checkbox.cpp @@ -70,6 +70,8 @@ bool wxCheckBox::Create(wxWindow *parent, if ( !wxControl::Create(parent, id, pos, size, style, wxDefaultValidator, name) ) return FALSE; + m_hasDialogBackground = TRUE; + SetLabel(label); SetBestSize(size);