no new install of event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -729,10 +729,12 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
|
|||||||
m_macControl = NewControl(MAC_WXHWND(parent->MacGetRootWindow()), &bounds, "\p", true, featurSet, 0, featurSet, kControlUserPaneProc, 0);
|
m_macControl = NewControl(MAC_WXHWND(parent->MacGetRootWindow()), &bounds, "\p", true, featurSet, 0, featurSet, kControlUserPaneProc, 0);
|
||||||
/* set up the mUP specific features and data */
|
/* set up the mUP specific features and data */
|
||||||
mUPOpenControl((ControlHandle) m_macControl, m_windowStyle );
|
mUPOpenControl((ControlHandle) m_macControl, m_windowStyle );
|
||||||
|
/*
|
||||||
if ( parent )
|
if ( parent )
|
||||||
{
|
{
|
||||||
parent->MacGetTopLevelWindow()->MacInstallEventHandler() ;
|
parent->MacGetTopLevelWindow()->MacInstallEventHandler() ;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
MacPostControlCreate() ;
|
MacPostControlCreate() ;
|
||||||
|
|
||||||
|
@@ -729,10 +729,12 @@ bool wxTextCtrl::Create(wxWindow *parent, wxWindowID id,
|
|||||||
m_macControl = NewControl(MAC_WXHWND(parent->MacGetRootWindow()), &bounds, "\p", true, featurSet, 0, featurSet, kControlUserPaneProc, 0);
|
m_macControl = NewControl(MAC_WXHWND(parent->MacGetRootWindow()), &bounds, "\p", true, featurSet, 0, featurSet, kControlUserPaneProc, 0);
|
||||||
/* set up the mUP specific features and data */
|
/* set up the mUP specific features and data */
|
||||||
mUPOpenControl((ControlHandle) m_macControl, m_windowStyle );
|
mUPOpenControl((ControlHandle) m_macControl, m_windowStyle );
|
||||||
|
/*
|
||||||
if ( parent )
|
if ( parent )
|
||||||
{
|
{
|
||||||
parent->MacGetTopLevelWindow()->MacInstallEventHandler() ;
|
parent->MacGetTopLevelWindow()->MacInstallEventHandler() ;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
MacPostControlCreate() ;
|
MacPostControlCreate() ;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user