diff --git a/wxPython/demo/wxButton.py b/wxPython/demo/wxButton.py index b81618718a..1021b96c45 100644 --- a/wxPython/demo/wxButton.py +++ b/wxPython/demo/wxButton.py @@ -21,7 +21,7 @@ class TestPanel(wxPanel): EVT_BUTTON(self, 20, self.OnClick) b.SetToolTipString("This is a Hello button...") - if 1: # a test case for catching wxPyAssertionError + if 0: # a test case for catching wxPyAssertionError #wxGetApp().SetAssertMode(wxPYAPP_ASSERT_SUPPRESS) #wxGetApp().SetAssertMode(wxPYAPP_ASSERT_EXCEPTION)