From: Stefan Csomor Date: Sat, 2 Apr 2005 05:36:52 +0000 (+0000) Subject: updating positioning after embedding is set correctly X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/807c0706e65d6d67b15d2acc53b0d41b6654c711 updating positioning after embedding is set correctly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index 100f1d6989..d83dff1b20 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -441,6 +441,10 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id, MacPostControlCreate(pos,size) ; + // only now the embedding is correct and we can do a positioning update + + MacSuperChangedPosition() ; + if ( m_windowStyle & wxTE_READONLY) { SetEditable( false ) ;