mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 20:06:18 +08:00
Fix (probably correct!) for compiling Fl_Window::capture_titlebar_and_borders() on WIN32 hosts.
This allows compilation to complete, and appears to work. Probably. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11078 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -2746,7 +2746,7 @@ void Fl_Window::capture_titlebar_and_borders(Fl_RGB_Image*& top, Fl_RGB_Image*&
|
|||||||
top = left = bottom = right = NULL;
|
top = left = bottom = right = NULL;
|
||||||
if (!shown() || parent() || !border() || !visible()) return;
|
if (!shown() || parent() || !border() || !visible()) return;
|
||||||
int wsides, hbottom, bt;
|
int wsides, hbottom, bt;
|
||||||
RECT r = border_width_title_bar_height(w, wsides, hbottom, bt);
|
RECT r = border_width_title_bar_height(this, wsides, hbottom, bt);
|
||||||
int htop = bt + hbottom;
|
int htop = bt + hbottom;
|
||||||
HDC save_gc = fl_gc;
|
HDC save_gc = fl_gc;
|
||||||
Window save_win = fl_window;
|
Window save_win = fl_window;
|
||||||
|
|||||||
Reference in New Issue
Block a user