From 4d2beb5be5468a7f964f71fe9c9a6f6fff329d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Mon, 27 Jul 2020 03:37:03 +0200 Subject: [PATCH] Fix SearchCtrl test by removing checks for TextCtrl methods Since commit 9eb9497afcf1 ("The new native wxSearchCtrl on GTK does not include the wxTextCtrl methods, just those from wxTextEntry.") the methods are no longer part of the SearchCtrl. --- unittests/test_srchctrl.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/unittests/test_srchctrl.py b/unittests/test_srchctrl.py index 61efde5c..5355181c 100644 --- a/unittests/test_srchctrl.py +++ b/unittests/test_srchctrl.py @@ -48,11 +48,7 @@ class srchctrl_Tests(wtc.WidgetTestCase): t = wx.SearchCtrl(self.frame) t.Cut t.CanCut - t.DiscardEdits - t.GetDefaultStyle - t.GetNumberOfLines - t.GetStyle - t.IsModified + t.IsEditable t.HitTest t.AppendText t.WriteText