]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/gauge.cpp
give the file name in the error message about failed Unicode conversion
[wxWidgets.git] / src / univ / gauge.cpp
index 5043825c2278dbd5f9c5c177ae7d06443ff011ab..c887c2cf176cced1e02e0a87080eba4db5d683d0 100644 (file)
@@ -64,7 +64,7 @@ bool wxGauge::Create(wxWindow *parent,
         return false;
     }
 
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }