X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0e6c0513862fc9a33e5800526058193b7492d8b..786c4e23f5d91c319804b4204ebda023b959794c:/src/gtk/button.cpp 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; }