summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Menu_Window.H3
1 files changed, 1 insertions, 2 deletions
diff --git a/FL/Fl_Menu_Window.H b/FL/Fl_Menu_Window.H
index f56fe3ea8..891691b20 100644
--- a/FL/Fl_Menu_Window.H
+++ b/FL/Fl_Menu_Window.H
@@ -40,14 +40,13 @@
redraw.
*/
class FL_EXPORT Fl_Menu_Window : public Fl_Single_Window {
- enum {NO_OVERLAY = 128};
public:
void show();
void erase();
void flush();
void hide();
/** Tells if hardware overlay mode is set */
- int overlay() {return !(flags()&NO_OVERLAY);}
+ unsigned int overlay() {return !(flags()&NO_OVERLAY);}
/** Tells FLTK to use hardware overlay planes if they are available. */
void set_overlay() {clear_flag(NO_OVERLAY);}
/** Tells FLTK to use normal drawing planes instead of overlay planes.