From 1620ab8499a7854ff1248a94782a800fb016d1f2 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 21 Jul 2010 14:47:16 -0700 Subject: [PATCH] wxgui: fix to use wx.Colour which is the actual name of the class (wx python wrapper may be missing wx.Color wrapper) --- gr-wxgui/src/python/plotter/gltext.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gr-wxgui/src/python/plotter/gltext.py b/gr-wxgui/src/python/plotter/gltext.py index 67f62ca5..1b3c047d 100644 --- a/gr-wxgui/src/python/plotter/gltext.py +++ b/gr-wxgui/src/python/plotter/gltext.py @@ -193,7 +193,7 @@ class TextElement(object): img = wx.ImageFromBitmap(bmp) alpha = img.GetData() - if isinstance(self._foreground, wx.Color): + if isinstance(self._foreground, wx.Colour): """ If we have a static color... """ -- 2.30.2