[wxPython-users] XRCed bug: wxID_EDIT XML ID does not work?
Frank Aune
Frank.Aune at broadpark.no
Fri Nov 30 16:03:18 PST 2007
On Saturday 01 December 2007 00:35:02 Robin Dunn wrote:
> Frank Aune wrote:
> > Hi,
> >
> > Using XRCed 0.1.8-4, I've been trying to create a wxButton in XRCed and
> > give it XML ID wxID_EDIT, but the wx.StockButton Edit icon does not show
> > up. I've tried alot of other wxID_* and everyone else seems to work.
> >
> > It's easy to reproduce, just create a new button in XRCed and give it XML
> > ID wxID_EDIT, and see if the icon is created. Then try to replace
> > wxID_EDIT with wxID_ADD for example.
> >
> > Is this a bug, or is the XML ID for wxID_EDIT supposed to be something
> > else?
>
> It's a bug. It looks like XRC is not checking for that stock ID for
> some reason. I'll get it fixed.
Is there a workaround beside creating the button manually? I'm thinking a
method or something you can call on the button object, which accepts
wxID_EDIT.
Regards,
Frank
More information about the wxpython-users
mailing list