From: Josh Blum Date: Wed, 21 Jul 2010 21:47:16 +0000 (-0700) Subject: wxgui: fix to use wx.Colour which is the actual name of the class (wx python wrapper... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=1620ab8499a7854ff1248a94782a800fb016d1f2;p=debian%2Fgnuradio wxgui: fix to use wx.Colour which is the actual name of the class (wx python wrapper may be missing wx.Color wrapper) --- 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... """