diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2013-01-20 09:33:03 -0800 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-01-20 09:33:03 -0800 |
commit | e41b7a54b2c7799bc4c3e177232574f1d38ccab9 (patch) | |
tree | e024f943985dcb86f0bf94636b94acc444acfce5 /gr-wxgui/src/python/plotter | |
parent | ad65dd6c70d11dba26ecbad07a6290801151e044 (diff) | |
parent | 6b9b1f762eacd6ad53727cf116d12a76d6e8b6b8 (diff) |
Merge remote-tracking branch 'balint/windows_fixes' into maint
Diffstat (limited to 'gr-wxgui/src/python/plotter')
-rw-r--r-- | gr-wxgui/src/python/plotter/plotter_base.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-wxgui/src/python/plotter/plotter_base.py b/gr-wxgui/src/python/plotter/plotter_base.py index 41c94e5e00..f1cbaf3c7b 100644 --- a/gr-wxgui/src/python/plotter/plotter_base.py +++ b/gr-wxgui/src/python/plotter/plotter_base.py @@ -151,6 +151,8 @@ class plotter_base(wx.glcanvas.GLCanvas, common.mutex): Resize the view port if the width or height changed. Redraw the screen, calling the draw functions. """ + # create device context (needed on Windows, noop on X) + dc = wx.PaintDC(self) self.lock() self.SetCurrent() |