updating positioning after embedding is set correctly

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-04-02 05:36:52 +00:00
parent bb2ef2cc9e
commit 807c0706e6

View 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 ) ;