summaryrefslogtreecommitdiff
path: root/wx+/bitmap_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/bitmap_button.h')
-rw-r--r--wx+/bitmap_button.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/bitmap_button.h b/wx+/bitmap_button.h
index 3255ffce..14476324 100644
--- a/wx+/bitmap_button.h
+++ b/wx+/bitmap_button.h
@@ -60,7 +60,7 @@ void setBitmapTextLabel(wxBitmapButton& btn, const wxImage& img, const wxString&
}
//SetMinSize() instead of SetSize() is needed here for wxWindows layout determination to work corretly
- const int defaultHeight = wxButton::GetDefaultSize().GetHeight();
+ const int defaultHeight = wxButton::GetDefaultSize().GetHeight();
btn.SetMinSize(wxSize(dynImage.GetWidth () + 2 * border,
std::max(dynImage.GetHeight() + 2 * border, defaultHeight)));
bgstack15