[wxpython-users] Problem with GetTopLevelParent() (not working
always)
Raffaello Barella
barbarossa.platz at gmail.com
Tue Apr 1 07:34:30 PDT 2008
Sorry, I do not understand. My problem is that sometimes -not always- the
message =ABThe object has no attribute 'GetTopLevelParent'=BB comes from a
derived control (a wx.grid) that, as such, cannot exist without a parent
frame.
2008/4/1, Bob Klahn <bobstones at comcast.net>:
>
> At 02:56 AM 4/1/2008, Raffaello Barella wrote:
> >Working on Windows XP, it happens sometimes that
> >I get an AttributeError with GetTopLevelParent()
> >(the message is =ABThe object has no attribute 'GetTopLevelParent'=BB).
> >Any idea?
>
>
> You'll get that for any object that doesn't inherit from wx._core.Window.
>
> Bob
>
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200804=
01/17d3e3f3/attachment.htm
More information about the wxpython-users
mailing list