Re: wxEuphoria woes

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

D. Newhall wrote:
> 
> procedure print_tasks(atom this, atom event, atom it, atom event_type)
>     atom dc
>     dc = create( wxPaintDC, {this})
> 
>     for i=1 to length(tasks) do
>         wx_puts({this, 0, (i-1) * 15, dc}, tasks[i])
>     end for
-- ADD THIS
    delete_instance(dc)

> end procedure

That fixed it.

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu