Re: Release 1.0.0a1

Federico Fanton <[email protected]> Wed, 2 Sep 2020 12:17:51 +0200
Newsgroups gmane.comp.python.wxglade
Organization Panizzolo s.r.l.
Message-ID <[email protected]>
On 02/09/20 11:06, Federico Fanton wrote:
> https://github.com/wxGlade/wxGlade/pull/436
> 
> There is still a problem though: while cutting/pasting/changing the font 
> of button_2 works and cutting/pasting of static_text_1 DO work, changing 
> the font of static_text_1 doesn't resize the containing sizer

I think I've found the culprit: SendSizeEvent() generates an empty 
SizeEvent, without EventObject, so when the event processing gets to 
WindowBase.on_size it finds

if event.GetEventObject() is None: return

and no resizing takes place. Could it be that this "no EventObject" 
behaviour was changed after wxPython 2.8?