From 0ffcd4323a16bc8f7fa720aa810626024d547f73 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Wed, 14 Sep 2016 20:21:06 -0700 Subject: [PATCH] Set some output and inOut parameter annotations --- etg/propgridproperty.py | 4 +++- etg/propgridprops.py | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/etg/propgridproperty.py b/etg/propgridproperty.py index a7adadb8..ddb19d28 100644 --- a/etg/propgridproperty.py +++ b/etg/propgridproperty.py @@ -56,8 +56,10 @@ def run(): c = module.find('wxPGProperty') tools.ignoreConstOverloads(c) + c.find('StringToValue.variant').out = True + c.find('IntToValue.variant').out = True - # TODO: Some of the wxPGProperty methods should probably be pythonized a bit... + # TODO: Some other wxPGProperty methods should be pythonized a bit... c = module.find('wxPGChoicesData') diff --git a/etg/propgridprops.py b/etg/propgridprops.py index 0ce28347..8d6ad2a9 100644 --- a/etg/propgridprops.py +++ b/etg/propgridprops.py @@ -77,6 +77,12 @@ def run(): c.briefDoc = "Basic property with integer value." c.detailedDoc = [] + c = module.find('wxLongStringProperty') + c.find('OnButtonClick.value').inOut = True + c.find('DisplayEditorDialog.value').inOut = True + + c = module.find('wxDirProperty') + c.find('OnButtonClick.value').inOut = True c = module.find('wxPGArrayEditorDialog') tools.fixWindowClass(c, hideVirtuals=False, ignoreProtected=False)