summaryrefslogtreecommitdiff
path: root/FL/Fl_Window.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Window.H')
-rw-r--r--FL/Fl_Window.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index 827ca8035..a1420e7c2 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -234,7 +234,7 @@ public:
/** Activates the flags NOBORDER|OVERRIDE */
void set_override() {set_flag(NOBORDER|OVERRIDE);}
/** Returns non zero if OVERRIDE flag is set, 0 otherwise. */
- unsigned int override() const { return flags()&OVERRIDE; }
+ unsigned int override_flag() const { return flags()&OVERRIDE; }
/**
A "modal" window, when shown(), will prevent any events from
being delivered to other windows in the same program, and will also
@@ -561,7 +561,7 @@ public:
// Note: Doxygen docs in Fl_Widget.H to avoid redundancy.
Fl_Window* as_window() { return this; }
- Fl_Window const* as_window() const override { return this; }
+ Fl_Window const* as_window() const { return this; }
/**
Return non-null if this is an Fl_Overlay_Window object.