typo in mouse event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -581,7 +581,7 @@ void wxNotebook::OnMouse( wxMouseEvent &event )
|
|||||||
int x = event.m_x ;
|
int x = event.m_x ;
|
||||||
int y = event.m_y ;
|
int y = event.m_y ;
|
||||||
|
|
||||||
#if TARGET_API_MAC_ISX
|
#if TARGET_API_MAC_OSX
|
||||||
// OS Needs it in window not client coordinates
|
// OS Needs it in window not client coordinates
|
||||||
wxPoint origin = GetClientAreaOrigin() ;
|
wxPoint origin = GetClientAreaOrigin() ;
|
||||||
x += origin.x ;
|
x += origin.x ;
|
||||||
|
Reference in New Issue
Block a user