I would like to replace a dialog's object dynamically but didn't find a way. The dialog is created with the help of a xrc definition file.
All what I found is https://www.blog.pythonlibrary.org/2012/05/05/wxpython-adding-and-removing-widgets-dynamically/: needs to access a sizer, but xrc does not provide access to sizer objects as far as I know.
Can anybody help?
My system: python 2.7, wxpython 3.0.2.0, win7
Best regards Humbalan
With the help of Goyo's post I found the following solution:
EDIT:
I changed the code since I found out that the method Replace() is much easier to use than my first attempt.