]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/gauge.cpp
fixing focus, fixes #11911
[wxWidgets.git] / src / univ / gauge.cpp
index 5043825c2278dbd5f9c5c177ae7d06443ff011ab..c887c2cf176cced1e02e0a87080eba4db5d683d0 100644 (file)
@@ -64,7 +64,7 @@ bool wxGauge::Create(wxWindow *parent,
         return false;
     }
 
         return false;
     }
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }
 
     return true;
 }