diff options
author | B Stack <bgstack15@gmail.com> | 2019-02-10 16:47:23 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-02-10 16:47:23 -0500 |
commit | a48439992d4b1c896dd0beaff91d0a14361032b9 (patch) | |
tree | 475a67b0b138f2b1cd5f02eaab8e413f7eee62c6 /wx+/bitmap_button.h | |
parent | Merge branch '10.8' into 'master' (diff) | |
download | FreeFileSync-a48439992d4b1c896dd0beaff91d0a14361032b9.tar.gz FreeFileSync-a48439992d4b1c896dd0beaff91d0a14361032b9.tar.bz2 FreeFileSync-a48439992d4b1c896dd0beaff91d0a14361032b9.zip |
10.9
Diffstat (limited to 'wx+/bitmap_button.h')
-rw-r--r--[-rwxr-xr-x] | wx+/bitmap_button.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wx+/bitmap_button.h b/wx+/bitmap_button.h index 738a62ff..bcbc7328 100755..100644 --- a/wx+/bitmap_button.h +++ b/wx+/bitmap_button.h @@ -56,8 +56,8 @@ void setBitmapTextLabel(wxBitmapButton& btn, const wxImage& img, const wxString& wxImage dynImage = createImageFromText(text, btn.GetFont(), btn.GetForegroundColour()); if (img.IsOk()) dynImage = btn.GetLayoutDirection() != wxLayout_RightToLeft ? - stackImages(img, dynImage, ImageStackLayout::HORIZONTAL, ImageStackAlignment::CENTER, gap) : - stackImages(dynImage, img, ImageStackLayout::HORIZONTAL, ImageStackAlignment::CENTER, gap); + stackImages(img, dynImage, ImageStackLayout::HORIZONTAL, ImageStackAlignment::CENTER, gap) : + stackImages(dynImage, img, ImageStackLayout::HORIZONTAL, ImageStackAlignment::CENTER, gap); //SetMinSize() instead of SetSize() is needed here for wxWindows layout determination to work corretly const int defaultHeight = wxButton::GetDefaultSize().GetHeight(); |