From 2c81be72eef5363736cf1892646c74a3311ee4c1 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 22 May 2022 17:03:17 -0400 Subject: add upstream 11.21 --- 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 d303de4c..3728aeb4 100644 --- a/wx+/dc.h +++ b/wx+/dc.h @@ -121,7 +121,7 @@ int getDpiScalePercent() inline wxBitmapBundle toBitmapBundle(const wxImage& img /*expected to be DPI-scaled!*/) { - //return wxBitmap(img, -1 /*depth*/, static_cast(getDPI()) / defaultDpi); not (yet) implemented + //return wxBitmap(img, -1 /*depth*/, static_cast(getDPI()) / defaultDpi); implementation just ignores scale parameter! WTF! wxBitmap bmpScaled(img); bmpScaled.SetScaleFactor(static_cast(getDPI()) / defaultDpi); return bmpScaled; -- cgit