Fix Windows CreateDC/DeleteDC mismatch (STR #3373).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12217 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
81ffbd2bf7
commit
cd10796251
1
CHANGES
1
CHANGES
@ -59,6 +59,7 @@ Changes in FLTK 1.4.0 Released: ??? ?? 2017
|
||||
Bug Fixes
|
||||
|
||||
- (add new items here)
|
||||
- Fix Windows CreateDC/DeleteDC mismatch (STR #3373).
|
||||
- Fix Fl_Tabs label drawing for Fl_Window children (STR #3075).
|
||||
- Fix line number alignment in Fl_Text_Display/Editor (STR #3363).
|
||||
- Fix ignored buffer pre-allocation (requestedSize) in Fl_Text_Buffer.
|
||||
|
@ -111,7 +111,7 @@ BOOL Fl_WinAPI_Screen_Driver::screen_cb(HMONITOR mon, HDC, LPRECT r)
|
||||
dpi[num_screens][0] = (float)GetDeviceCaps(screen, LOGPIXELSX);
|
||||
dpi[num_screens][1] = (float)GetDeviceCaps(screen, LOGPIXELSY);
|
||||
}
|
||||
ReleaseDC(0L, screen);
|
||||
DeleteDC(screen);
|
||||
}
|
||||
|
||||
num_screens++;
|
||||
|
Loading…
Reference in New Issue
Block a user