]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/stc.cpp.in
Use float-on-parent frames for the popups if wxPopupWindow is not available
[wxWidgets.git] / contrib / 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);