X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6519b40fe9f5e4706e02497fe01ff71c65079d6..0a4090e635a3765e62181ecf039914c2c27df63c:/src/msw/wince/textctrlce.cpp?ds=sidebyside diff --git a/src/msw/wince/textctrlce.cpp b/src/msw/wince/textctrlce.cpp index 1a83ef5cb3..a9d97de8cc 100644 --- a/src/msw/wince/textctrlce.cpp +++ b/src/msw/wince/textctrlce.cpp @@ -256,7 +256,7 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, sizeText.y = EDIT_HEIGHT_FROM_CHAR_HEIGHT(cy); } - SetBestSize(size); + SetInitialSize(size); (void)::ShowWindow(GetBuddyHwnd(), SW_SHOW);