From 5852dcc6232e253c7a190f011b60dcff6e3ac299 Mon Sep 17 00:00:00 2001 From: Scott Talbert Date: Thu, 17 Mar 2016 00:08:42 -0400 Subject: [PATCH] Correct TextCompleterSimple example Need to pass instance of MyTextCompleter, not class itself. --- .../snippets/python/converted/TextCompleterSimple.1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/rest_substitutions/snippets/python/converted/TextCompleterSimple.1.py b/docs/sphinx/rest_substitutions/snippets/python/converted/TextCompleterSimple.1.py index 29bc89a3..1feee512 100644 --- a/docs/sphinx/rest_substitutions/snippets/python/converted/TextCompleterSimple.1.py +++ b/docs/sphinx/rest_substitutions/snippets/python/converted/TextCompleterSimple.1.py @@ -25,5 +25,5 @@ # Later on... text = wx.TextCtrl(parent, wx.ID_ANY, 'My Text') - text.AutoComplete(MyTextCompleter) + text.AutoComplete(MyTextCompleter())