summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Blum2010-07-21 14:47:16 -0700
committerJosh Blum2010-07-21 14:47:16 -0700
commit1620ab8499a7854ff1248a94782a800fb016d1f2 (patch)
treeb210fb6d13be253feb60310a985f50fff49ce957
parent272c44f10ebf9e2d7ac76fe00c87382a1c0f4f29 (diff)
downloadgnuradio-1620ab8499a7854ff1248a94782a800fb016d1f2.tar.gz
gnuradio-1620ab8499a7854ff1248a94782a800fb016d1f2.tar.bz2
gnuradio-1620ab8499a7854ff1248a94782a800fb016d1f2.zip
wxgui: fix to use wx.Colour which is the actual name of the class (wx python wrapper may be missing wx.Color wrapper)
-rw-r--r--gr-wxgui/src/python/plotter/gltext.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-wxgui/src/python/plotter/gltext.py b/gr-wxgui/src/python/plotter/gltext.py
index 67f62ca56..1b3c047dc 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...
"""