diff options
author | B. Stack <bgstack15@gmail.com> | 2022-08-03 08:51:28 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-08-03 08:51:28 -0400 |
commit | 94e0c9205e6049c6b3295145af7fd39156e77543 (patch) | |
tree | c36c0f0c5fab7aa60432e9e1d32ba5fdfabeb55e /wx+/rtl.h | |
parent | Merge branch '11.22' into 'master' (diff) | |
download | FreeFileSync-94e0c9205e6049c6b3295145af7fd39156e77543.tar.gz FreeFileSync-94e0c9205e6049c6b3295145af7fd39156e77543.tar.bz2 FreeFileSync-94e0c9205e6049c6b3295145af7fd39156e77543.zip |
add upstream 11.23
Diffstat (limited to 'wx+/rtl.h')
-rw-r--r-- | wx+/rtl.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ #include <wx/dcmemory.h> #include <wx/image.h> #include <wx/app.h> +#include "dc.h" namespace zen @@ -50,7 +51,7 @@ void drawBitmapAligned(wxDC& dc, const wxImage& img, const wxRect& rect, int ali else if (alignment & wxALIGN_CENTER_VERTICAL) pt.y += (rect.height - img.GetHeight()) / 2; - dc.DrawBitmap(img, pt); + dc.DrawBitmap(toScaledBitmap(img), pt); } } |