diff --git a/etg/richtextctrl.py b/etg/richtextctrl.py index a2b7cc84..9b40ee80 100644 --- a/etg/richtextctrl.py +++ b/etg/richtextctrl.py @@ -75,6 +75,9 @@ def run(): c.find('SetListStyle.def').name = 'styleDef' c.find('ApplyStyle.def').name = 'styleDef' + + c.addPyMethod('GetDefaultStyle', '(self)', 'return self.GetDefaultStyleEx()', + deprecated='Use GetDefaultStyleEx instead') # Make sure that all the methods from wxTextEntry are included. This is