]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/textctrl.cpp
init the file and dir pickers with dummy files/folders
[wxWidgets.git] / src / osx / carbon / textctrl.cpp
index 55fb6f4178a28303e0e712227e3a90f152c4e911..f385f45e0666e815f0648b61c98bce2e8792a9f7 100644 (file)
@@ -1907,6 +1907,7 @@ wxMacMLTEClassicControl::wxMacMLTEClassicControl( wxTextCtrl *wxPeer,
         MAC_WXHWND(wxPeer->GetParent()->MacGetTopLevelWindowRef()),
         &bounds, featureSet, &m_controlRef );
     verify_noerr( err );
+    SetControlReference( m_controlRef , (URefCon) wxPeer );
 
     DoCreate();