X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fe8635a7e78715344f0f4b6abc9d797931429333..764471557e06c8816b8cc8eb9924a1e3c78509d8:/src/gtk/gauge.cpp diff --git a/src/gtk/gauge.cpp b/src/gtk/gauge.cpp index e0b4b49010..7fb1828e14 100644 --- a/src/gtk/gauge.cpp +++ b/src/gtk/gauge.cpp @@ -55,7 +55,7 @@ bool wxGauge::Create( wxWindow *parent, m_parent->DoAddChild( this ); PostCreation(size); - SetBestSize(size); + SetInitialSize(size); return true; }