]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/textctrl_osx.cpp
going private for m_peer to give a foundation for better encapsulation
[wxWidgets.git] / src / osx / textctrl_osx.cpp
index 226c24f2a8dcf9be6ef09f1973dca284a2f34429..9baf7499890549e8edbffbc6294ff7227bdeb8a0 100644 (file)
@@ -112,7 +112,7 @@ bool wxTextCtrl::Create( wxWindow *parent,
     }
 
 
-    m_peer = wxWidgetImpl::CreateTextControl( this, GetParent(), GetId(), str, pos, size, style, GetExtraStyle() );
+    SetPeer(wxWidgetImpl::CreateTextControl( this, GetParent(), GetId(), str, pos, size, style, GetExtraStyle() ));
 
     MacPostControlCreate(pos, size) ;