diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2008-02-20 17:42:08 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2008-02-20 17:42:08 +0000 |
| commit | 97c408f1d26106b50f8958e29bda160572012bba (patch) | |
| tree | cf622caa802b553d7ad2f2d6c03ba64bbd33ffd9 | |
| parent | 28c87ce84df0ed491f2236013a360581ba43e760 (diff) | |
STR 1849: fixed messages sent to hidden windows
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | src/Fl_Group.cxx | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -6,6 +6,7 @@ CHANGES IN FLTK 1.1.8 STR #1742, STR #1777, STR #1794, STR #1827, STR #1843, STR #1796, STR #1815, STR #1726, STR #1753, STR #1855, STR #1862, STR #1867, STR #1874) + - Fixed message sent to hidden widgets (STR #1849) - Fixed width calculation in Fl_Help_ViewA (STR #1868) - Fixed offset bug in OS X pixmap code (STR #1856) - Fixed potential buffer overrun diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index 1a90da6a2..5768bedb5 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -260,9 +260,7 @@ int Fl_Group::handle(int event) { if (children()) { for (int j = i;;) { - if (a[j]->takesevents() || event != FL_MOUSEWHEEL) { - if (send(a[j], event)) return 1; - } + if (a[j]->takesevents()) if (send(a[j], event)) return 1; j++; if (j >= children()) j = 0; if (j == i) break; |
