what a funtion of EVT_PAINT if i not use that can it work normally for drawing or show a picture
wxPython funtion EVT_PAINT
Collapse
X
-
The wx.EVT_PAINT happens when some part of the interior of a window needs to be redrawn. A good example is a scrolled window. When the user scrolls, the part of the window's contents that becomes visible is repainted. Most widgets (a multi-line wx.TextCtrl, for example) take care of the repainting automatically.Originally posted by ndoewhat a funtion of EVT_PAINT if i not use that can it work normally for drawing or show a picture
If you draw directly to the device context (wx.DC), then you will need to handle wx.EVT_PAINT events.
Comment