summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authortreectrl <treectrl>2005-06-29 21:16:33 (GMT)
committertreectrl <treectrl>2005-06-29 21:16:33 (GMT)
commitfb2e78be6099f5896bd10164581451450dbea733 (patch)
tree92f3cf0f7b98b936f9503c2a8ea28d4604a67a35 /demos
parentb42e77a6479442157de57a7c6de1b345accb5ad4 (diff)
downloadtktreectrl-fb2e78be6099f5896bd10164581451450dbea733.zip
tktreectrl-fb2e78be6099f5896bd10164581451450dbea733.tar.gz
tktreectrl-fb2e78be6099f5896bd10164581451450dbea733.tar.bz2
Stopped window being destroyed when it was closed.
Diffstat (limited to 'demos')
-rw-r--r--demos/style-editor.tcl1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/style-editor.tcl b/demos/style-editor.tcl
index 87dc41f..3769852 100644
--- a/demos/style-editor.tcl
+++ b/demos/style-editor.tcl
@@ -117,6 +117,7 @@ proc StyleEditor::Init {Tdemo} {
Info selectedStyle ""
Info selectedElement ""
+ wm protocol $w WM_DELETE_WINDOW "ToggleStyleEditorWindow"
wm geometry $w -0+0
return