Re: wxWidgets crash
- Posted by mb7001 Feb 19, 2015
- 1576 views
Thanks for the formatting tip. Here is the code:
include wxeud.e constant HelloFrame = create(wxFrame,{0, -1, "My First Message", -1, -1, 200, 100}), HelloWin = create(wxPanel,{HelloFrame}) procedure onPaint_HelloWin(atom this, atom event, atom it, atom event_type) wx_puts(this, "Hello World!") end procedure set_event_handler(HelloWin, get_id(HelloWin), wxEVT_PAINT, routine_id("onPaint_HelloWin")) wxMain(HelloFrame)
It was straight from the "Getting Started" section in the wxEuphoria manual.