X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d2c19f1367399be8d3220fa1c0fcdcb0ff6b6ae..49fc3b9c03107c3f3b79432ddb1c4bd58c8a9fc3:/src/gtk1/gauge.cpp diff --git a/src/gtk1/gauge.cpp b/src/gtk1/gauge.cpp index f4f5e3196c..a68d74215f 100644 --- a/src/gtk1/gauge.cpp +++ b/src/gtk1/gauge.cpp @@ -52,7 +52,7 @@ bool wxGauge::Create( wxWindow *parent, m_parent->DoAddChild( this ); PostCreation(size); - SetBestSize(size); + SetInitialSize(size); return true; }