]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/gauge.cpp
Add wxSearchCtrl screenshots
[wxWidgets.git] / src / gtk1 / gauge.cpp
index f4f5e3196ca6c532df271002efa88996a2386ffc..a68d74215fdda2e530508050cf079d6a0a8fb5ec 100644 (file)
@@ -52,7 +52,7 @@ bool wxGauge::Create( wxWindow *parent,
     m_parent->DoAddChild( this );
 
     PostCreation(size);
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }