new control based view architecture
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -154,7 +154,7 @@ void wxToolTip::RelayEvent( wxWindow *win , wxMouseEvent &event )
|
||||
s_ToolTipArea = wxRect2DInt( event.m_x - 2 , event.m_y - 2 , 4 , 4 ) ;
|
||||
s_LastWindowEntered = win ;
|
||||
|
||||
WindowRef window = MAC_WXHWND( win->MacGetRootWindow() ) ;
|
||||
WindowRef window = MAC_WXHWND( win->MacGetTopLevelWindowRef() ) ;
|
||||
int x = event.m_x ;
|
||||
int y = event.m_y ;
|
||||
wxPoint local( x , y ) ;
|
||||
|
Reference in New Issue
Block a user