summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-06-27 12:17:29 +0000
committerManolo Gouy <Manolo>2017-06-27 12:17:29 +0000
commit7f15c3010c4bca0e1e8598dd12a6bc637c10f8e6 (patch)
treeda6ace2faa96ef49472495d54a5b19293e63bc47 /src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
parent7fbf318c53bc194919cf518536e108bc75edaa80 (diff)
WIN32 platform: more progress for full HiDPI support
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12273 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.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
index 9eb7705bc..b81a520d1 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
@@ -389,7 +389,8 @@ void Fl_WinAPI_Window_Driver::make_current() {
#endif // USE_COLORMAP
fl_graphics_driver->clip_region(0);
-fl_graphics_driver->scale(Fl::screen_driver()->scale(0));
+ fl_graphics_driver->scale(Fl::screen_driver()->scale(0));
+ fl_graphics_driver->line_style(FL_SOLID); // scale also default line width
}
void Fl_WinAPI_Window_Driver::label(const char *name,const char *iname) {