summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-02-06 00:03:00 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-02-06 00:03:00 +0000
commit0475dc936334432f68be80cd1b34eb7261e90af0 (patch)
tree84d808fe20454f0cd917c686a0940495b1d690e0
parent01e47d8f247c9c2d41c5229ac582145a631752f7 (diff)
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
-rw-r--r--CHANGES2
-rw-r--r--src/Fl_Group.cxx6
2 files changed, 5 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index bea511d18..36436f363 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx
index a3680a678..8655d53fe 100644
--- a/src/Fl_Group.cxx
+++ b/src/Fl_Group.cxx
@@ -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$".
//