Re: wxEuphoria woes

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

D. Newhall wrote:

> set_event_handler(WINDOW, get_id(WINDOW), wxEVT_PAINT,
>   routine_id("print_tasks"))

Okay, you've set it so that every time your window gets repainted, you
run the "print_tasks" item. Probably not a good idea, because it gets
repainted a billion times a second.

Try putting that in the wxEVT_RESIZE or wxEVT_OPEN (or whatever is
appropriate).


-=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