From: DH <cra...@ya...> - 2003-04-23 12:40:47
|
With the help of the magical Canvas widget, I have created perlTk Type Tutor - useful for learning a DVORAK keyboard layout http://perlmonks.com/index.pl?node_id=229960 Now I wanna write one in wx. So milling about the wxperl docs like I always do, I realize I need to use a wxClientDC to setup my picture, and wxPaintDC to redraw as triggered by an OnPaint event. Does this sounds reasonable? So I would use ::wxPostEvent to post a wxPaintEvent to my wxFrame/wxPanel? Will I need to paint the entire picture (keyboard) every time a wxPaintEvent is triggered? If so, what can I do about it? I don't wanna write any code before having sound strategy. Thanks __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com |