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