diff options
| author | Manolo Gouy <Manolo> | 2016-03-19 23:04:28 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-19 23:04:28 +0000 |
| commit | 51030530f24c33c59db3084bc2b088d50b2c6627 (patch) | |
| tree | 7ae4c000e5f5d50b26988df77ae7a3b04318baf7 /src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | |
| parent | c2067d81be322b07ca541dbc564fc6c1ca64025a (diff) | |
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
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx')
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
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 |
