From e6e1a42e1e84d7a24c79295d01aa8b1844d64c6b Mon Sep 17 00:00:00 2001 From: B Stack Date: Fri, 27 Dec 2019 08:28:17 -0500 Subject: add upstream 10.19 --- wx+/rtl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wx+/rtl.h') diff --git a/wx+/rtl.h b/wx+/rtl.h index 0adb6037..3ab701a7 100644 --- a/wx+/rtl.h +++ b/wx+/rtl.h @@ -94,13 +94,14 @@ void drawBitmapRtlNoMirror(wxDC& dc, const wxBitmap& bmp, const wxRect& rect, in } -inline +inline wxImage mirrorIfRtl(const wxImage& bmp) { if (wxTheApp->GetLayoutDirection() == wxLayout_RightToLeft) return bmp.Mirror(); else - return bmp;} + return bmp; +} inline -- cgit