WindowRefresh
HC
GUI programming
Window P-S
WindowRefresh
WindowRefresh window eraseBackground x y width height
Causes this window, and all of its children recursively (except under wxGTK1 where this is not implemented), to be repainted. Note that repainting doesn't happen immediately but only during the next event loop iteration, if you need to update the window immediately you should use Update instead.
Parameters
eraseBackground: If true, the background will be erased.
x, y, widht, height describe the rectangle, which will be treated as damaged.