mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 04:20:07 +01:00
Ignore wxLongLong and wxULongLong overloads in PG interface
Fixes #1663. With these overloads in place, EnumProperty's get created as long long in the C++ side, which results in problems because wxWidgets expects them to be plain longs. Also ignore char* and wchar* overloads which are not needed and cause problems for PyObjectProperty.
This commit is contained in:
@@ -123,9 +123,13 @@ def run():
|
||||
|
||||
spv = c.find('SetPropertyValue')
|
||||
spv.findOverload('int value').ignore()
|
||||
spv.findOverload('wxLongLong value').ignore()
|
||||
spv.findOverload('wxLongLong_t value').ignore()
|
||||
spv.findOverload('wxULongLong value').ignore()
|
||||
spv.findOverload('wxULongLong_t value').ignore()
|
||||
spv.findOverload('wxObject *value').ignore()
|
||||
spv.findOverload('wchar_t *value').ignore()
|
||||
spv.findOverload('char *value').ignore()
|
||||
|
||||
# Reorder SetPropertyValue overloads so the one taking a long int is not
|
||||
# first. Mark others that could be auto-converted from int as
|
||||
|
||||
Reference in New Issue
Block a user