layout tweakAdd DoGetBestSize to wxCheckListBox that adds room for the checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,7 +17,7 @@ class TestPanel(wx.Panel):
|
|||||||
|
|
||||||
self.Bind(wx.calendar.EVT_CALENDAR, self.OnCalSelected, id=cal.GetId())
|
self.Bind(wx.calendar.EVT_CALENDAR, self.OnCalSelected, id=cal.GetId())
|
||||||
|
|
||||||
b = wx.Button(self, -1, "Destroy the Calendar", pos = (250, 50))
|
b = wx.Button(self, -1, "Destroy the Calendar", pos = (275, 50))
|
||||||
self.Bind(wx.EVT_BUTTON, self.OnButton, id= b.GetId())
|
self.Bind(wx.EVT_BUTTON, self.OnButton, id= b.GetId())
|
||||||
self.cal = cal
|
self.cal = cal
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user