Re: wxEuphoria wxEVT_CLOSE_WINDOW
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Dec 05, 2005
- 561 views
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