X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0e6c0513862fc9a33e5800526058193b7492d8b..30ee79f7e95dc4903b4d17c66b947761c574dfd8:/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; }