From 62b37d24fea3e163d983184548293efa9d2c654a Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 31 Aug 2020 14:07:20 -0700 Subject: [PATCH] Add stubs for wxUIActionSimulator --- docs/sphinx/itemToModuleMap.json | 1 + etg/uiaction.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/sphinx/itemToModuleMap.json b/docs/sphinx/itemToModuleMap.json index 99d19e0f..13ba6e40 100644 --- a/docs/sphinx/itemToModuleMap.json +++ b/docs/sphinx/itemToModuleMap.json @@ -6593,6 +6593,7 @@ "USE_GLCANVAS":"wx.glcanvas.", "USE_JOYSTICK":"wx.adv.", "USE_MEDIACTRL":"wx.media.", +"USE_UIACTIONSIMULATOR":"wx.", "USE_WEBKIT":"wx.webkit.", "USE_WEBVIEW":"wx.html2.", "Uint16":"wx.", diff --git a/etg/uiaction.py b/etg/uiaction.py index db1b47e8..04b97fc0 100644 --- a/etg/uiaction.py +++ b/etg/uiaction.py @@ -31,6 +31,11 @@ def run(): # Tweak the parsed meta objects in the module object as needed for # customizing the generated code and docstrings. + tools.generateStubs('wxUSE_UIACTIONSIMULATOR', module, + # extraHdrCode='', + # typeValMap={} + ) + c = module.find('wxUIActionSimulator') assert isinstance(c, etgtools.ClassDef) c.addPrivateCopyCtor()