Change winid parameter in wx.ScrolledWindow to id, for consistency

This commit is contained in:
Robin Dunn
2018-04-28 18:26:49 -07:00
parent 3123b7ea23
commit 6bf324c043
2 changed files with 4 additions and 1 deletions

View File

@@ -67,6 +67,9 @@ Changes in this release include the following:
* Fix wxGet to be able to use pip v10. (#817)
* Change winid parameter in wx.ScrolledWindow to id, for consistency. (#816)

View File

@@ -116,7 +116,7 @@ def run():
overloads=[
MethodDef(name='wxScrolledWindow', isCtor=True, items=[
ParamDef(name='parent', type='wxWindow*'),
ParamDef(name='winid', type='wxWindowID', default='wxID_ANY'),
ParamDef(name='id', type='wxWindowID', default='wxID_ANY'),
ParamDef(name='pos', type='const wxPoint&', default='wxDefaultPosition'),
ParamDef(name='size', type='const wxSize&', default='wxDefaultSize'),
ParamDef(name='style', type='long', default='wxScrolledWindowStyle'),