From 51030530f24c33c59db3084bc2b088d50b2c6627 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 19 Mar 2016 23:04:28 +0000 Subject: Advancing Albrecht's plan for the Fl_Window_Driver class. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11387 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx index 78110c7fb..c3622c2fc 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -255,18 +255,6 @@ void Fl_WinAPI_Window_Driver::draw_begin() } -void Fl_WinAPI_Window_Driver::flush_single() -{ - if (!pWindow->shown()) return; - pWindow->make_current(); // make sure fl_gc is non-zero - Fl_X *i = Fl_X::i(pWindow); - if (!i) return; - fl_clip_region(i->region); - i->region = 0; - pWindow->draw(); -} - - void Fl_WinAPI_Window_Driver::flush_double() { if (!pWindow->shown()) return; @@ -294,7 +282,6 @@ void Fl_WinAPI_Window_Driver::flush_double() void Fl_WinAPI_Window_Driver::flush_overlay() { Fl_Overlay_Window *oWindow = pWindow->as_overlay_window(); - if (!oWindow) return flush_single(); if (!pWindow->shown()) return; pWindow->make_current(); // make sure fl_gc is non-zero -- cgit v1.2.3