X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a1eefc73b4fb5262b1a09517809b727a3beacbd..57351df0a60b1f2302f66a8d687285c3f5a54fd0:/wxPython/demo/wxButton.py diff --git a/wxPython/demo/wxButton.py b/wxPython/demo/wxButton.py index a02cc6f5ab..2a92effc12 100644 --- a/wxPython/demo/wxButton.py +++ b/wxPython/demo/wxButton.py @@ -7,7 +7,8 @@ import images class TestPanel(wxPanel): def __init__(self, parent, log): - wxPanel.__init__(self, parent, -1) + wxPanel.__init__(self, parent, -1, + style=wxNO_FULL_REPAINT_ON_RESIZE) self.log = log b = wxButton(self, 10, "Hello", wxPoint(20, 20))