wxCloseEvent handled by wxTopLevelWindowBase

Franky Braem f.braem at skynet.be
Sat Dec 30 12:38:37 PST 2006


Vadim Zeitlin wrote:
> On Sat, 30 Dec 2006 19:42:10 +0100 Franky Braem <f.braem at skynet.be> wrote:
> 
> FB> My frame vetoes the close event, but the frame is destroyed because the 
> FB> wxCloseEvent is also handled by wxTopLevelWindowBase. Is there a way to 
> FB> avoid this?
> 
>  If you don't skip the event in your handler it shouldn't be passed to the
> base class handler.
> 
>  Regards,
> VZ
> 

I've tried it, but it doesn't work.
Could it be possible that there's something wrong with the 
eventEntryTable? I see 2 items there.

Franky.






More information about the wx-users mailing list