summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-27 06:58:54 +0000
committerManolo Gouy <Manolo>2016-03-27 06:58:54 +0000
commit5f14fc3e9b81d082966665209c4246cbdfee0005 (patch)
treefc67bdd993d6e88dccf8200e096d2b1bb09d5bc5 /src/drivers/WinAPI
parentc7b1591486bf03becbf7414b2d9cac908bd7ee3c (diff)
Rewrite Fl_Overlay_Window class under the driver model.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11440 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/WinAPI')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
index ebb118ef5..5c59818a8 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
@@ -313,7 +313,7 @@ void Fl_WinAPI_Window_Driver::flush_overlay()
int X, Y, W, H; fl_clip_box(0, 0, w(), h(), X, Y, W, H);
if (i->other_xid) fl_copy_offscreen(X, Y, W, H, i->other_xid, X, Y);
- if (oWindow->overlay_ == oWindow) oWindow->draw_overlay();
+ if (overlay() == oWindow) oWindow->draw_overlay();
}