diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-13 15:45:50 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-01-13 15:45:50 +0000 |
| commit | ab5771b62fbff2510ff495ba6dd2fcd8d1720593 (patch) | |
| tree | 053c436d4a29715f964a5955c9da1e51aad0f693 /src/Fl_Menu_Bar.cxx | |
| parent | a64292cc5f56e165b471f5bb23acea765d838c7e (diff) | |
Fixes from Bill:
- Fl_Clock now uses the Fl_Clock_Output base class to get the
system time.
- Fl_Window::iconize() and Fl_Window::icon() now coexist
peacefully with all X window managers.
- Minor fixes to mandelbrot and shape demos.
- Menu code cleanup.
git-svn-id: file:///fltk/svn/fltk/trunk@209 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Menu_Bar.cxx')
| -rw-r--r-- | src/Fl_Menu_Bar.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Fl_Menu_Bar.cxx b/src/Fl_Menu_Bar.cxx index 7d022681b..b01e8cabb 100644 --- a/src/Fl_Menu_Bar.cxx +++ b/src/Fl_Menu_Bar.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Menu_Bar.cxx,v 1.5 1999/01/07 19:17:22 mike Exp $" +// "$Id: Fl_Menu_Bar.cxx,v 1.6 1999/01/13 15:45:49 mike Exp $" // // Menu bar widget for the Fast Light Tool Kit (FLTK). // @@ -40,6 +40,9 @@ void Fl_Menu_Bar::draw() { int Fl_Menu_Bar::handle(int event) { const Fl_Menu_Item* v; if (menu() && menu()->text) switch (event) { + case FL_ENTER: + case FL_LEAVE: + return 1; case FL_PUSH: v = 0; J1: @@ -57,5 +60,5 @@ int Fl_Menu_Bar::handle(int event) { } // -// End of "$Id: Fl_Menu_Bar.cxx,v 1.5 1999/01/07 19:17:22 mike Exp $". +// End of "$Id: Fl_Menu_Bar.cxx,v 1.6 1999/01/13 15:45:49 mike Exp $". // |
