Remove unnecessary Fl_Window_Driver::flush_Fl_Window()

This commit is contained in:
ManoloFLTK 2023-04-21 14:33:26 +02:00
parent 9a00f36113
commit f8f7e101f3
2 changed files with 2 additions and 5 deletions

View File

@ -57,7 +57,6 @@ private:
protected:
Fl_Window *pWindow;
int screen_num_; // number of screen where window is mapped
void flush_Fl_Window(); // accessor to protected Fl_Window::flush()
public:
Fl_Window_Driver(Fl_Window *);
virtual ~Fl_Window_Driver();

View File

@ -72,8 +72,6 @@ int Fl_Window_Driver::fullscreen_screen_left() {return pWindow->fullscreen_scree
int Fl_Window_Driver::fullscreen_screen_right() {return pWindow->fullscreen_screen_right;}
void Fl_Window_Driver::current(Fl_Window *c) {pWindow->current_ = c;}
void Fl_Window_Driver::flush_Fl_Window() { pWindow->Fl_Window::flush(); }
/**
Draw the window content.
@ -106,11 +104,11 @@ void Fl_Window_Driver::take_focus() {
}
void Fl_Window_Driver::flush_double() {
flush_Fl_Window();
pWindow->Fl_Window::flush();
}
void Fl_Window_Driver::flush_overlay() {
flush_Fl_Window();
pWindow->Fl_Window::flush();
}
void Fl_Window_Driver::draw_begin() {