From 807c0706e65d6d67b15d2acc53b0d41b6654c711 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 2 Apr 2005 05:36:52 +0000 Subject: [PATCH] updating positioning after embedding is set correctly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/textctrl.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 ) ; -- 2.45.2