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:
Scott Talbert
2020-06-10 15:51:36 -04:00
parent 0c18353adb
commit 4c56d3b24e

View File

@@ -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