mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Don't set the id parameter default to wx.ID_ANY if there is a default.
This commit is contained in:
@@ -239,7 +239,7 @@ def fixWindowClass(klass, hideVirtuals=True, ignoreProtected=True):
|
||||
parent.transferThis = True
|
||||
# if there is an id param give it a default
|
||||
id = func.findItem('id') or func.findItem('winid')
|
||||
if id:
|
||||
if id and not id.default:
|
||||
id.default = 'wxID_ANY'
|
||||
|
||||
# if there is a pos or size parameter without a default then give it one.
|
||||
|
||||
Reference in New Issue
Block a user