diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-04-17 17:45:44 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-04-17 17:45:44 +0000 |
| commit | e2495a760a7c5987724467923b9beb57c50ccfeb (patch) | |
| tree | ea46433ed29b0f33199080e199f6fafcd2fb2913 /src/Fl_Menu.cxx | |
| parent | cdf85352c42dd2f3b43703897148e8fa513c9cdc (diff) | |
MSWindows fixes for previous commits.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11644 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Menu.cxx')
| -rw-r--r-- | src/Fl_Menu.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/Fl_Menu.cxx b/src/Fl_Menu.cxx index 39ab67072..1d56a1ebd 100644 --- a/src/Fl_Menu.cxx +++ b/src/Fl_Menu.cxx @@ -775,11 +775,12 @@ int menuwindow::handle_part1(int e) { } } break; - case FL_MOVE: - static int use_part1_extra = Fl::system_driver()->need_menu_handle_part1_extra(); - if (use_part1_extra && pp.state == DONE_STATE) { - return 1; // Fix for STR #2619 - } + case FL_MOVE: { + static int use_part1_extra = Fl::system_driver()->need_menu_handle_part1_extra(); + if (use_part1_extra && pp.state == DONE_STATE) { + return 1; // Fix for STR #2619 + } + } /* FALLTHROUGH */ case FL_ENTER: case FL_PUSH: |
