X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/792626ca3da21ce4c64c56376e3702b0355fde72..6158f936ec6b3edfff2e0918ff44ea18e1ed7d2b:/wxPython/docs/MigrationGuide.txt diff --git a/wxPython/docs/MigrationGuide.txt b/wxPython/docs/MigrationGuide.txt index 73771d2485..431f57be55 100644 --- a/wxPython/docs/MigrationGuide.txt +++ b/wxPython/docs/MigrationGuide.txt @@ -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.