X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2c19f1367399be8d3220fa1c0fcdcb0ff6b6ae..69562a1d4c4c8d96116af3f229fa2269828c4489:/src/univ/gauge.cpp 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; }