summaryrefslogtreecommitdiff
path: root/src/Fl_Double_Window.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Double_Window.cxx')
-rw-r--r--src/Fl_Double_Window.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx
index 8edb316b8..49e890e22 100644
--- a/src/Fl_Double_Window.cxx
+++ b/src/Fl_Double_Window.cxx
@@ -32,7 +32,7 @@
Fl_Double_Window::Fl_Double_Window(int W, int H, const char *l)
-: Fl_Window(0, 0, W, H, l, Fl_Window_Driver::newWindowDriver(this))
+: Fl_Window(0, 0, W, H, l)
{
type(FL_DOUBLE_WINDOW);
clear_flag(FORCE_POSITION);
@@ -40,12 +40,7 @@ Fl_Double_Window::Fl_Double_Window(int W, int H, const char *l)
Fl_Double_Window::Fl_Double_Window(int X, int Y, int W, int H, const char *l)
-: Fl_Window(X,Y,W,H,l, Fl_Window_Driver::newWindowDriver(this))
-{
- type(FL_DOUBLE_WINDOW);
-}
-
-Fl_Double_Window::Fl_Double_Window(int x, int y, int w, int h, const char* title, Fl_Window_Driver *driver) : Fl_Window(x,y,w,h,title, driver)
+: Fl_Window(X,Y,W,H,l)
{
type(FL_DOUBLE_WINDOW);
}
@@ -60,10 +55,15 @@ void Fl_Double_Window::show() {
return Fl_Display_Device::display_device()->driver()->can_do_alpha_blending();
}*/
+
/**
Forces the window to be redrawn.
*/
-void Fl_Double_Window::flush() {flush(0);}
+void Fl_Double_Window::flush()
+{
+ flush(0);
+}
+
/**
Forces the window to be redrawn.