X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f40fdaa339e19bbdf60c9c065c82daae4ca77b36..786c4e23f5d91c319804b4204ebda023b959794c:/src/gtk/choice.cpp?ds=sidebyside diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index 28d895dd2e..4bef419b40 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -564,6 +564,7 @@ wxSize wxChoice::DoGetBestSize() const if (ret.y <= 18) ret.y = 8 + GetCharHeight(); + CacheBestSize(ret); return ret; }