summaryrefslogtreecommitdiff
path: root/FL/Fl_Double_Window.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-13 22:16:37 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-13 22:16:37 +0000
commitb496d18b85917106c48e8e6f74115b3122b603d1 (patch)
tree4d96befa4377a81c89c6a32f4d66220199572938 /FL/Fl_Double_Window.H
parent30756ae3500a62bd8f63b4df3eb3ca8f6b8b0b70 (diff)
Fixed 'flush()' code for single, double, and overlay buffering
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Double_Window.H')
-rw-r--r--FL/Fl_Double_Window.H7
1 files changed, 3 insertions, 4 deletions
diff --git a/FL/Fl_Double_Window.H b/FL/Fl_Double_Window.H
index 35085d309..fe3396a52 100644
--- a/FL/Fl_Double_Window.H
+++ b/FL/Fl_Double_Window.H
@@ -37,9 +37,8 @@
This makes sure you can use Xdbe on servers where double buffering
does not exist for every visual.
*/
-class FL_EXPORT Fl_Double_Window : public Fl_Window {
-protected:
- void flush(int eraseoverlay);
+class FL_EXPORT Fl_Double_Window : public Fl_Window
+{
public:
/**
Return non-null if this is an Fl_Overlay_Window object.
@@ -47,9 +46,9 @@ public:
virtual Fl_Double_Window *as_double_window() {return this; }
void show();
void show(int a, char **b) {Fl_Window::show(a,b);}
- void flush();
void resize(int,int,int,int);
void hide();
+ void flush();
~Fl_Double_Window();
/**