STR #784: Fixed tooltip stating 'function' instead of 'comment'

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4233 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher 2005-04-02 18:57:49 +00:00
parent aed7263678
commit f12052870c
3 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,8 @@ CHANGES IN FLTK 1.1.7
- Documentation fixes (STR #648, STR #692, STR #730, STR
#744, STR #745)
- added zlib path to fluid (STR #783)
- Fixed wrong tooltip in fluid (STR #784)
- Added zlib path to fluid (STR #783)
- Menus and other pop-up windows now obey screen
boundaries on multi-screen displays (STR #781)
- Fl_Chart would draw outside its bounding box (STR #780)

View File

@ -485,7 +485,7 @@ Fl_Window* make_widgetbin() {
o->image(pixmap[11]);
}
{ Fl_Button* o = new Fl_Button(52, 4, 24, 24);
o->tooltip("Function");
o->tooltip("Comment");
o->box(FL_THIN_UP_BOX);
o->callback((Fl_Callback*)type_make_cb, (void*)("comment"));
o->image(pixmap[46]);

View File

@ -327,7 +327,7 @@ Function {make_widgetbin()} {open
Fl_Button {} {
user_data {"comment"}
callback type_make_cb
tooltip Function xywh {52 4 24 24} box THIN_UP_BOX
tooltip Comment xywh {52 4 24 24} box THIN_UP_BOX
code0 {o->image(pixmap[46]);}
}
}