From 6a01d2cf69204647d3aae319f66fa41e8e3a128c Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 17 Sep 2006 18:34:17 +0000 Subject: Fix handling of public/private stuff for widget classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5441 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/code.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fluid/code.cxx') diff --git a/fluid/code.cxx b/fluid/code.cxx index df23e3a75..7c3848e77 100644 --- a/fluid/code.cxx +++ b/fluid/code.cxx @@ -273,6 +273,7 @@ void write_h(const char* format,...) { #include int write_number; int write_sourceview; +extern Fl_Widget_Class_Type *current_widget_class; // recursively dump code, putting children between the two parts // of the parent code: @@ -314,6 +315,7 @@ static Fl_Type* write_code(Fl_Type* p) { } write_h("};\n"); + current_widget_class = 0L; } else { for (q = p->next; q && q->level > p->level;) q = write_code(q); // write all code that come after the children -- cgit v1.2.3