From: nallath Date: Thu, 27 Feb 2014 13:40:16 +0000 (+0100) Subject: Changed shader editor to frame, so it can be closed on linux X-Git-Tag: 14.03~19^2 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3f4d5946e8c7d008501cf3ce071a5bd2d8d6fdfc;p=cura.git Changed shader editor to frame, so it can be closed on linux --- diff --git a/Cura/gui/sceneView.py b/Cura/gui/sceneView.py index c5116f29..a8362755 100644 --- a/Cura/gui/sceneView.py +++ b/Cura/gui/sceneView.py @@ -1372,7 +1372,7 @@ class SceneView(openglGui.glGuiPanel): return self._selectedObj.getMatrix() #TODO: Remove this or put it in a seperate file -class shaderEditor(wx.Dialog): +class shaderEditor(wx.Frame): def __init__(self, parent, callback, v, f): super(shaderEditor, self).__init__(parent, title="Shader editor", style=wx.DEFAULT_DIALOG_STYLE|wx.RESIZE_BORDER) self._callback = callback