I think that you'll just need to change the frame size property when you hit your checkbox...
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Grant Sent: Tuesday, December 12, 2006 12:02 AM To: python-list@python.org Subject: wxPython, dynamically modify window Hi, I am looking for a tip. I have a panel and a checkbox. When I check the checkbox, I would like to add buttons to the panel (dynamically). When the checkbox is unchecked, the buttons should not appear (be deleted)---all the while, the window should resize if necessary. If you have a simpler example, that is fine. I just need a hint as to how you dynamically change the widgets and their layouts. Looking at the wx demos, there is something close wx.lib.expando, but this is just modifying a particular widget. Thanks. -- http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list