Re: wxEuphoria
- Posted by buzzo Jun 05, 2012
- 1244 views
Thanks guys.... however....
procedure onPaint_HelloWin( atom this, atom event, atom it, atom event_type ) -- this works in paint event..on the StaticText only... not on wx_puts -- set_back_color(SomeText, Parchment ) -- set_fore_color(SomeText,BrightBlue) -- wx_puts( {this,10,20}, "HelloWin, World!") -- ************ this does not display -- ************ produces a rapid display (flash) of the window atom dc = create (wxPaintDC,this) begin_drawing(dc) set_back_color(dc, BrightWhite) set_text_color(dc, BrightBlue) wx_puts( {this,10,20,dc}, "HelloWin, World!") end_drawing(dc) delete_instance(dc) end procedure