Ensure that wx.EVT_CATEGORY enum items exist

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2012-02-10 18:58:36 +00:00
parent d72d3532da
commit 23dba89106

View File

@@ -146,7 +146,15 @@ class Events(unittest.TestCase):
f = evt.Files
self.assertTrue(isinstance(f, list))
self.assertTrue(len(f) == 5)
def test_EventCategory(self):
wx.EVT_CATEGORY_UI
wx.EVT_CATEGORY_USER_INPUT
wx.EVT_CATEGORY_SOCKET
wx.EVT_CATEGORY_TIMER
wx.EVT_CATEGORY_THREAD
wx.EVT_CATEGORY_ALL
#---------------------------------------------------------------------------