From d67f395031b0e9cfb266bf31a4a5e08a2d109e3b Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Wed, 30 Mar 2016 20:16:40 +0000 Subject: Rewrite functions XRectangleRegion(), XDestroyRegion() under the driver model. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11479 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 d79bc26ae..6833b83ec 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx @@ -496,7 +496,7 @@ void Fl_WinAPI_Window_Driver::hide() { # endif } - if (ip->region) XDestroyRegion(ip->region); + if (ip->region) Fl_Graphics_Driver::XDestroyRegion(ip->region); // this little trickery seems to avoid the popup window stacking problem HWND p = GetForegroundWindow(); -- cgit v1.2.3