mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Testcase for trying to invoke wx.EvtHandler.__init__ with keyword args
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -156,6 +156,16 @@ class Events(unittest.TestCase):
|
||||
wx.EVT_CATEGORY_THREAD
|
||||
wx.EVT_CATEGORY_ALL
|
||||
|
||||
|
||||
def test_evtHandlerSubclass(self):
|
||||
class MyEvtHandler(wx.EvtHandler):
|
||||
def __init__(self, **kwds):
|
||||
super(MyEvtHandler, self).__init__() #**kwds)
|
||||
|
||||
eh = MyEvtHandler()
|
||||
eh.Destroy()
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user