X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ed3dab2615f9d2214c8e452daf844d65620cbbb..3ac8d3bc52ea44d6cb9fdf31fbae175d30d00fcc:/utils/wxPython/demo/wxButton.py diff --git a/utils/wxPython/demo/wxButton.py b/utils/wxPython/demo/wxButton.py index 2ec66651a6..d65cafd59d 100644 --- a/utils/wxPython/demo/wxButton.py +++ b/utils/wxPython/demo/wxButton.py @@ -10,9 +10,9 @@ class TestPanel(wxPanel): b = wxButton(self, 10, "Hello", wxPoint(20, 20)) EVT_BUTTON(self, 10, self.OnClick) - b.SetDefault() b.SetBackgroundColour(wxBLUE) b.SetForegroundColour(wxWHITE) + b.SetDefault() wxButton(self, 20, "HELLO AGAIN!", wxPoint(20, 60), wxSize(90, 45)) EVT_BUTTON(self, 20, self.OnClick)