From f9a264860c23b8381adbc0b9766e1b677a07da78 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 4 Jan 2021 08:08:11 -0500 Subject: add upstream 11.5 --- wx+/dc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wx+/dc.h') 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? -- cgit