Tweaked some sample code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-12-18 19:08:13 +00:00
parent 792626ca3d
commit 6158f936ec
2 changed files with 111 additions and 21 deletions

View File

@@ -124,8 +124,8 @@ function. If you used to have something like this::
Change it like so::
myCustomEventType = wxNewEventType()
EVT_MY_CUSTOM_EVENT = wxPyEventBinder(myCustomEventType, 1)
myCustomEventType = wx.NewEventType()
EVT_MY_CUSTOM_EVENT = wx.PyEventBinder(myCustomEventType, 1)
The second parameter is an integer in [0, 1, 2] that specifies the
number of IDs that are needed to be passed to Connect.