summaryrefslogtreecommitdiff
path: root/wx+/rtl.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <shieldwed@outlook.com>2019-12-30 10:35:19 +0000
committerDaniel Wilhelm <shieldwed@outlook.com>2019-12-30 10:35:19 +0000
commitf790cdc5775bb1234a9c2666218456d80825966e (patch)
treecf344e045d5ebdffe0afc35f2de68b8908857808 /wx+/rtl.h
parentMerge branch '10.18' into 'master' (diff)
parentadd upstream 10.19 (diff)
downloadFreeFileSync-f790cdc5775bb1234a9c2666218456d80825966e.tar.gz
FreeFileSync-f790cdc5775bb1234a9c2666218456d80825966e.tar.bz2
FreeFileSync-f790cdc5775bb1234a9c2666218456d80825966e.zip
Merge branch '10.19' into 'master'10.19
add upstream 10.19 See merge request opensource-tracking/FreeFileSync!16
Diffstat (limited to 'wx+/rtl.h')
-rw-r--r--wx+/rtl.h5
1 files changed, 3 insertions, 2 deletions
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
bgstack15