summaryrefslogtreecommitdiff
path: root/wx+/dc.h
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2021-01-04 13:48:35 +0000
committerB Stack <bgstack15@gmail.com>2021-01-04 13:48:35 +0000
commitedb1c4482c0a0d91bddfee6e1f9fce234e59840a (patch)
tree494f9fc32eeee34c6c46611ae0137c25a79517a4 /wx+/dc.h
parentMerge branch '11.4' into 'master' (diff)
parentadd upstream 11.5 (diff)
downloadFreeFileSync-edb1c4482c0a0d91bddfee6e1f9fce234e59840a.tar.gz
FreeFileSync-edb1c4482c0a0d91bddfee6e1f9fce234e59840a.tar.bz2
FreeFileSync-edb1c4482c0a0d91bddfee6e1f9fce234e59840a.zip
Merge branch '11.5' into 'master'11.5
add upstream 11.5 See merge request opensource-tracking/FreeFileSync!29
Diffstat (limited to 'wx+/dc.h')
-rw-r--r--wx+/dc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/dc.h b/wx+/dc.h
index d803f04d..fabd382b 100644
--- a/wx+/dc.h
+++ b/wx+/dc.h
@@ -66,7 +66,7 @@ void drawFilledRectangle(wxDC& dc, wxRect rect, int borderWidth, const wxColor&
macOS: wxWidgets uses DIP (note: wxScreenDC().GetPPI() returns 72 x 72 which is a lie; looks like 96 x 96) */
inline
-int fastFromDIP(int d) //like wxWindow::FromDIP (but tied to primary monitor and buffered)
+int fastFromDIP(double d) //like wxWindow::FromDIP (but tied to primary monitor and buffered)
{
#ifndef wxHAVE_DPI_INDEPENDENT_PIXELS
#error why is wxHAVE_DPI_INDEPENDENT_PIXELS not defined?
bgstack15