X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6519b40fe9f5e4706e02497fe01ff71c65079d6..42dfe2b25975537db8bb54ab104385748ff7d175:/src/msw/wince/textctrlce.cpp?ds=inline 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);