]> git.saurik.com Git - wxWidgets.git/commitdiff
updating positioning after embedding is set correctly
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 2 Apr 2005 05:36:52 +0000 (05:36 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 2 Apr 2005 05:36:52 +0000 (05:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp

index 100f1d69892cb90210b70ca1959c1f9380886502..d83dff1b20a04282cb06d127e635d208019d63eb 100644 (file)
@@ -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 ) ;