Re: wxEuphoria woes
- Posted by cklester <cklester at yahoo.com> Sep 08, 2005
- 504 views
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/