]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp.in
default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
[wxWidgets.git] / src / stc / stc.cpp.in
index 2a9806a68a2adf03772aea3010017a41e22ce928..d1a1701a532f913fcb6cf939b0f64e5a19353eca 100644 (file)
@@ -179,7 +179,7 @@ bool wxStyledTextCtrl::Create(wxWindow *parent,
     SetCodePage(wxSTC_CP_UTF8);
 #endif
 
-    SetBestFittingSize(size);
+    SetInitialSize(size);
 
     // Reduces flicker on GTK+/X11
     SetBackgroundStyle(wxBG_STYLE_CUSTOM);