mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-13 07:17:08 +01:00
7 lines
264 B
Python
7 lines
264 B
Python
|
|
# NOTE: wxPython doesn't yet support using a control in place of the label...
|
|
check = wx.CheckBox(parent, wx.ID_ANY, "Use the box")
|
|
box = wx.StaticBox(parent, wx.ID_ANY, check)
|
|
check.Bind(wx.EVT_CHECKBOX, lambda evt: box.Enable(evt.IsChecked()))
|
|
|