summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-10-30 14:27:40 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-10-30 14:30:08 +0100
commit56cf5684dc3ae06dd77a5f8f0143dc368de76746 (patch)
treefbf4bbeff4ad1e86645e1eb1740190e3564a4e23
parent510cffdb5925c3015627389568c3702148a10c4b (diff)
Make Fl_Window::flush() public for consistency with subclasses
... as discussed on fltk.general recently Note: this method was already public in all subclasses of Fl_Window.
-rw-r--r--FL/Fl_Window.H5
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index 90e3e5dc0..d5a3be8f3 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -98,9 +98,14 @@ protected:
/** Stores the last window that was made current. See current() const */
static Fl_Window *current_;
void draw() FL_OVERRIDE;
+
+public:
+
/** Forces the window to be drawn, this window is also made current and calls draw(). */
virtual void flush();
+protected:
+
/**
Sets an internal flag that tells FLTK and the window manager to
honor position requests.