mirror of
https://github.com/fltk/fltk.git
synced 2026-06-05 16:12:13 +08:00
Removed some redundant code in Fl_Group::handle() (STR #669)
src/Fl_Group.cxx:
- Don't need to check o->contains() twice.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
CHANGES IN FLTK 1.1.7
|
||||
|
||||
- Documentation fixes (STR #648)
|
||||
- Removed some redundant code in Fl_Group::handle() (STR
|
||||
#669)
|
||||
- The file chooser didn't always deactivate the OK
|
||||
button when necessary (STR #653)
|
||||
- Image drawing on OSX changed the current drawing
|
||||
|
||||
+3
-3
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// "$Id: Fl_Group.cxx,v 1.8.2.8.2.26 2004/12/03 03:14:16 easysw Exp $"
|
||||
// "$Id$"
|
||||
//
|
||||
// Group widget for the Fast Light Tool Kit (FLTK).
|
||||
//
|
||||
@@ -162,7 +162,7 @@ int Fl_Group::handle(int event) {
|
||||
if (o->contains(Fl::belowmouse())) {
|
||||
return send(o,FL_MOVE);
|
||||
} else {
|
||||
if (!o->contains(Fl::belowmouse())) Fl::belowmouse(o);
|
||||
Fl::belowmouse(o);
|
||||
if (send(o,FL_ENTER)) return 1;
|
||||
}
|
||||
}
|
||||
@@ -593,5 +593,5 @@ void Fl_Group::draw_outside_label(const Fl_Widget& widget) const {
|
||||
}
|
||||
|
||||
//
|
||||
// End of "$Id: Fl_Group.cxx,v 1.8.2.8.2.26 2004/12/03 03:14:16 easysw Exp $".
|
||||
// End of "$Id$".
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user