summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-06-01 17:41:42 +0000
committerManolo Gouy <Manolo>2017-06-01 17:41:42 +0000
commit12fd93485faa0c6341b11c77b336d626f3db53cd (patch)
treefadcbdf88bd7921ae37c42f666b0e030685a133d /src/drivers
parent0960d07315977a5bc5424371e6a5fc1f6a7f33c1 (diff)
Remove the 'defined(WIN32)' and 'defined(__APPLE__)' preprocessor directives introduced at r.12239
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H
index 9cb234a37..361a12d96 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H
+++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.H
@@ -78,8 +78,11 @@ public:
virtual void disable_im();
virtual void open_display_platform();
virtual void offscreen_size(Fl_Offscreen off, int &width, int &height);
-
- virtual APP_SCALING_CAPABILITY rescalable() { return SYSTEMWIDE_APP_SCALING; }
+#if defined(FLTK_HIDPI_SUPPORT)
+ virtual APP_SCALING_CAPABILITY rescalable() {
+ return SYSTEMWIDE_APP_SCALING;
+ }
+#endif
virtual float scale(int n) {return scale_;}
virtual void scale(int n, float f) { scale_ = f;}
virtual float desktop_scale_factor();