X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a1eefc73b4fb5262b1a09517809b727a3beacbd..59d04dff037f66e9e73b389de72835211f5f0bcd:/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))