Re: wxEuphoria wxEVT_CLOSE_WINDOW

new topic     » goto parent     » topic index » view thread      » older message » newer message

cklester wrote:
> 
> Matt Lewis wrote:
> > cklester wrote:
> > > I expect a console to pop up here when I click the 'X' in the title bar to
> > > close the app, but all that happens is the program closes. I don't get the
> > > expected error message about dividing by zero.
> > Yeah, that's what it does for me.  What platform are you running?
> 
> Windows XP Pro today (at work). Windows 2000 last night (at home).

Whoops, you're right.  I was messing around with the new_wxFrame(), and had
commented out the:
set_event_handler( this, get_id(this), wxEVT_CLOSE_WINDOW,
routine_id("OnCloseWindow"))

...This is there to avoid forcing you to do it yourself.  I'll think about
the solution.  For the time being, you can comment that out yourself, and
it will work.

Matt Lewis

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu