From 205bdf2684ee401fee2a24ffa7704526051f80b1 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 12 Mar 2015 10:14:07 -0700 Subject: [PATCH] Add deprecated RichTextCtrl.GetDefaultStyle --- etg/richtextctrl.py | 3 +++ 1 file changed, 3 insertions(+) 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