Declaration in Fluid now uses its own public/private setting unless the parent is a private declaration block, which sets contained declarations to private as well.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2005-07-20 13:20:14 +00:00
parent bb2394055d
commit 394ab6af40
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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)
+1 -1
View File
@@ -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_;