]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/stattext.cpp
paper size, duplex support
[wxWidgets.git] / src / univ / stattext.cpp
index 38da4fb592b02d1b877b4970fae732f68d5bb042..509a5d6dde3b09c1313ab15180170507ab786aba 100644 (file)
@@ -57,7 +57,7 @@ bool wxStaticText::Create(wxWindow *parent,
         return false;
 
     SetLabel(label);
-    SetBestSize(size);
+    SetInitialSize(size);
 
     return true;
 }