Re: wxWidgets crash

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

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.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu