mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 03:15:21 +08:00
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user