X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..b4d1ebf058c64f5b9e0ddf3264ce8a801eae4f79:/src/gtk1/button.cpp?ds=sidebyside diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index eeb2e134d0..90f8aa05c9 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -124,7 +124,7 @@ bool wxButton::Create( wxWindow *parent, wxWindowID id, const wxString &label, if (newSize.y == -1) { newSize.y = 11+y; - if (newSize.x < 26) newSize.x = 26; + if (newSize.y < 26) newSize.y = 26; } SetSize( newSize.x, newSize.y );