diff options
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | fluid/Fl_Function_Type.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ CHANGES IN FLTK 1.1.7 - Documentation fixes (STR #648, STR #692, STR #730, STR #744, STR #745, STR #942) + - Fluid Declaration private flag fixed (STR #799) - Fluid overlay now shows a seperate bounding box of selected items with correct handles and a dotted boundig box for all labels (STR #790) diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index 303ff728e..3f4ea2e11 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -467,7 +467,7 @@ void Fl_CodeBlock_Type::write_code2() { int Fl_Decl_Type::is_public() const { - Fl_Type *p = Fl_Type::current; + Fl_Type *p = parent; while (p && !p->is_decl_block()) p = p->parent; if(p && p->is_public() && public_) return public_; |
