X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0e6c0513862fc9a33e5800526058193b7492d8b..dd779a9e66c640907048ab02cb4a853ae45ea94c:/src/gtk1/button.cpp diff --git a/src/gtk1/button.cpp b/src/gtk1/button.cpp index d64273b780..d42f359e19 100644 --- a/src/gtk1/button.cpp +++ b/src/gtk1/button.cpp @@ -232,6 +232,7 @@ wxSize wxButton::DoGetBestSize() const if (ret.x < 80) ret.x = 80; } + CacheBestSize(ret); return ret; }