[wx-dev] [wxGTK] SendSizeEvent and GtkOnSize
Paul Cornett
pc-wx at bullseye.com
Wed Nov 7 12:04:13 PST 2007
Julian Smart wrote:
>Paul Cornett wrote:
>> Julian Smart wrote:
>>
>>> Hi,
>>>
>>> In 2.8.6, when showing/hiding a toolbar in wxGTK, calling
>>> wxFrame::SendSizeEvent doesn't trigger a layout: I have to call
>>> GtkOnSize explicitly. Is it reasonable to add a call to GtkOnSize
>>> in SendSizeEvent (ifdef'ed appropriate)? Or maybe there's another
>>> way that I've missed?
>>>
>>
>> Maybe it would be better to override SendSizeEvent for wxGTK?
>>
>Well, yes, in 2.9, but that wouldn't be binary compatible in 2.8...
I think it has been decided that overriding an existing virtual is OK
as long as it is safe for an older executable to still call the
base method. Which would be true in this case.
More information about the wx-dev
mailing list