From 581bebd192cbdf8b638ee1c7ed70fa602242b7a1 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 28 Jan 2003 08:30:54 +0000 Subject: [PATCH] no new install of event handler git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/textctrl.cpp | 2 ++ src/mac/textctrl.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/mac/carbon/textctrl.cpp b/src/mac/carbon/textctrl.cpp index c678b88edc..65bb0f8176 100644 --- a/src/mac/carbon/textctrl.cpp +++ b/src/mac/carbon/textctrl.cpp @@ -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); /* set up the mUP specific features and data */ mUPOpenControl((ControlHandle) m_macControl, m_windowStyle ); + /* if ( parent ) { parent->MacGetTopLevelWindow()->MacInstallEventHandler() ; } + */ } MacPostControlCreate() ; diff --git a/src/mac/textctrl.cpp b/src/mac/textctrl.cpp index c678b88edc..65bb0f8176 100644 --- a/src/mac/textctrl.cpp +++ b/src/mac/textctrl.cpp @@ -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); /* set up the mUP specific features and data */ mUPOpenControl((ControlHandle) m_macControl, m_windowStyle ); + /* if ( parent ) { parent->MacGetTopLevelWindow()->MacInstallEventHandler() ; } + */ } MacPostControlCreate() ; -- 2.45.2