X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2c19f1367399be8d3220fa1c0fcdcb0ff6b6ae..da1f0e87e2c24ad9ee7647261dd986ad3e8d60eb:/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; }