X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f40fdaa339e19bbdf60c9c065c82daae4ca77b36..3527e5324247dca419d71d4e4658b20c6f10340a:/src/gtk1/spinbutt.cpp diff --git a/src/gtk1/spinbutt.cpp b/src/gtk1/spinbutt.cpp index a62d2c121e..4ac29c9c25 100644 --- a/src/gtk1/spinbutt.cpp +++ b/src/gtk1/spinbutt.cpp @@ -227,7 +227,9 @@ bool wxSpinButton::IsOwnGtkWindow( GdkWindow *window ) wxSize wxSpinButton::DoGetBestSize() const { - return wxSize(15, 26); // FIXME + wxSize best(15, 26); // FIXME + CacheBestSize(best); + return best; } // static