]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/checkbox.cpp
Already had wxEVT_MOUSE_CAPTURE_CHANGED, don't need it twice
[wxWidgets.git] / src / univ / checkbox.cpp
index c9a95a631868adeba3d47b40db4700e5ae5f7322..c15ebca4bab3c657d6dfbc55170643ca6310cf6e 100644 (file)
@@ -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);