Skip to content
Snippets Groups Projects
Commit 83b410ae authored by Paul McCarthy's avatar Paul McCarthy
Browse files

Calling base class Show in addition to setting size to 0, will hopefully

fix this issue on all platforms.
parent 2b3eb7c5
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ class WXGLSliceCanvas(slicecanvas.SliceCanvas,
workaround that I've found to work is, instead of hiding the canvas,
to set its size to 0. So this method does just that.
"""
wxgl.GLCanvas.Show(self, show)
if not show:
self.SetMinSize((0, 0))
self.SetMaxSize((0, 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment