summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Window_Type.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index 050324d05..7e8e0000b 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -1467,6 +1467,7 @@ void Fl_Widget_Class_Type::write_code2() {
if (((Fl_Window*)o)->resizable() == o)
write_c("%sresizable(this);\n", indent());
write_c("}\n");
+ current_widget_class = 0L;
}
////////////////////////////////////////////////////////////////