]> git.saurik.com Git - wxWidgets.git/blobdiff - src/richtext/richtextctrl.cpp
Made all bitmaps 16x16
[wxWidgets.git] / src / richtext / richtextctrl.cpp
index 05f6ed499914830fca073d02d08c45688bf67a1b..636c49443972f05c48317d86accc05b5cd23aee8 100644 (file)
@@ -157,7 +157,7 @@ bool wxRichTextCtrl::Create( wxWindow* parent, wxWindowID id, const wxString& va
     SetBackgroundStyle(wxBG_STYLE_CUSTOM);
 
     // Tell the sizers to use the given or best size
-    SetBestFittingSize(size);
+    SetInitialSize(size);
 
 #if wxRICHTEXT_BUFFERED_PAINTING
     // Create a buffer