X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2c19f1367399be8d3220fa1c0fcdcb0ff6b6ae..abc912df18da329d7ae1d5ea1bf4908b029698d3:/src/univ/gauge.cpp?ds=sidebyside diff --git a/src/univ/gauge.cpp b/src/univ/gauge.cpp index 5043825c22..c887c2cf17 100644 --- a/src/univ/gauge.cpp +++ b/src/univ/gauge.cpp @@ -64,7 +64,7 @@ bool wxGauge::Create(wxWindow *parent, return false; } - SetBestSize(size); + SetInitialSize(size); return true; }