reverting part of Kevin O's patch, due to incompatibility problems

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2004-02-06 09:10:58 +00:00
parent 92dda0f7a3
commit 89b1446463
2 changed files with 2 additions and 10 deletions

View File

@ -1467,11 +1467,7 @@ bool wxWindowMac::MacSetupCursor( const wxPoint& pt)
}
bool wxWindowMac::MacDispatchMouseEvent(wxMouseEvent& event)
{
//In case a third-party component changed the port...
wxMacPortStateHelper help( (GrafPtr) GetWindowPort( (WindowRef) MacGetRootWindow()) ) ;
wxMacWindowClipper clip (this);
{
if ((event.m_x < m_x) || (event.m_y < m_y) ||
(event.m_x > (m_x + m_width)) || (event.m_y > (m_y + m_height)))
return FALSE;

View File

@ -1467,11 +1467,7 @@ bool wxWindowMac::MacSetupCursor( const wxPoint& pt)
}
bool wxWindowMac::MacDispatchMouseEvent(wxMouseEvent& event)
{
//In case a third-party component changed the port...
wxMacPortStateHelper help( (GrafPtr) GetWindowPort( (WindowRef) MacGetRootWindow()) ) ;
wxMacWindowClipper clip (this);
{
if ((event.m_x < m_x) || (event.m_y < m_y) ||
(event.m_x > (m_x + m_width)) || (event.m_y > (m_y + m_height)))
return FALSE;