X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..f22e0c3c3f90510f1a92ab148f20b2453e338626:/src/gtk1/button.cpp diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index eeb2e134d0..47662e31de 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -77,7 +77,7 @@ bool wxButton::Create( wxWindow *parent, wxWindowID id, const wxString &label, !CreateBase( parent, id, pos, size, style, validator, name )) { wxFAIL_MSG( wxT("wxButton creation failed") ); - return FALSE; + return FALSE; } /* @@ -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 );