XRC and dynamically created widgets?
John Salerno
johnjsal at NOSPAMgmail.com
Mon Oct 2 11:28:07 PDT 2006
John Salerno wrote:
> And here is the XRC:
>
> <?xml version="1.0" encoding="utf-8"?>
> <resource>
> <object class="wxFrame" name="mainFrame">
> <title>Test Frame</title>
> <object class="wxPanel" name="panel">
> <object class="wxNotebook" name="notebook"/>
> </object>
> </object>
> <object class="wxPanel" name="page"/>
> </resource>
Ah, I forgot to add the Notebook to a BoxSizer! Now it works! :)
More information about the wxpython-users
mailing list