[wxPython-users] xrc resources and default id

Raffaello Barella barbarossa.platz at gmail.com
Sun Sep 9 11:57:21 PDT 2007


Writing  in the constructor "... ID =3D wx.ID_ANY, ..." would do?
Ciao

2007/9/7, Maja Massarini <majamassarini at inwind.it>:
>
> Hi to all
>
> I read this line in the wxButton API:
>
> "The preferred way to create standard buttons is to use a standard ID
> and an empty label"
>
> Now, I'm wondering how to use a standard ID, take for example wx.ID_ADD,
> inside an xrc resource.
>
> Is there possible? Otherwise how can I got a standard behaviour in my
> buttons without using a standard id?
>
> Thanks for any help
>
> Maja
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200709=
09/2c8da0bd/attachment.htm


More information about the wxpython-users mailing list