Re: Release 1.0.0a1
Federico Fanton <[email protected]> Tue, 1 Sep 2020 10:06:31 +0200
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Organization | Panizzolo s.r.l. |
| Message-ID | <[email protected]> |
On 31/08/20 21:48, Dietmar Schwertberger wrote:
> 1.0.0a2 is online with a fix.
Great, thanks! :)
I was thinking, since SendSizeEventToParent is defined as
void wxWindowBase::SendSizeEventToParent(int flags)
{
wxWindow * const parent = GetParent();
if ( parent && !parent->IsBeingDeleted() )
parent->SendSizeEvent(flags);
}
wouldn't it be better to do something like
parent = self.widget.GetParent()
if parent and not parent.IsBeingDeleted():
parent.SendSizeEvent()
instead of skipping the call altogether?
(I think I can make a PR if you want)
> Please note that such old versions have many problems when it comes to
> screen display.
> Also, e.g. key handling is limited for this.
I see, thanks for pointing this out. Sadly I will be still stuck with
wxPython 2.8 for a while :/