moving more things to common API between carbon and cocoa, adapting WidthDefault etc, removing dependencies from wxClientDC from text measuring ops on wxWindow

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2008-10-06 10:35:36 +00:00
parent 63052a509d
commit f55d9f749b
5 changed files with 97 additions and 76 deletions

View File

@@ -2227,7 +2227,7 @@ wxMacMLTEHIViewControl::wxMacMLTEHIViewControl( wxTextCtrl *wxPeer,
{
HIViewAddSubview( m_scrollView , m_textView ) ;
m_controlRef = m_scrollView ;
wxMacControl::MacInstallEventHandler( m_textView, wxPeer ) ;
InstallEventHandler( (WXWidget) m_textView ) ;
}
else
{