]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/gauge.cpp
Fix warning.
[wxWidgets.git] / src / gtk / gauge.cpp
index e0b4b49010072b7797d7001f9e3a83d0b36bab21..7fb1828e14a54fa102b8218b6332e83085d11b91 100644 (file)
@@ -55,7 +55,7 @@ bool wxGauge::Create( wxWindow *parent,
     m_parent->DoAddChild( this );
 
     PostCreation(size);
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }