]> git.saurik.com Git - wxWidgets.git/commitdiff
no new install of event handler
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 28 Jan 2003 08:30:54 +0000 (08:30 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 28 Jan 2003 08:30:54 +0000 (08:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/textctrl.cpp
src/mac/textctrl.cpp

index c678b88edcdf81badb06b84d6d53d3b1a86c5dcc..65bb0f8176db48abcd0224e53908a6656861b092 100644 (file)
@@ -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() ;
 
index c678b88edcdf81badb06b84d6d53d3b1a86c5dcc..65bb0f8176db48abcd0224e53908a6656861b092 100644 (file)
@@ -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() ;