From: Vadim Zeitlin Date: Tue, 2 Nov 1999 18:48:40 +0000 (+0000) Subject: another compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cfeb83fd7f4b8903b09f7d233a6d3b7edb57ca9e another compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index 18b56afa7b..df44939ecb 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -109,8 +109,8 @@ void wxSashWindow::OnPaint(wxPaintEvent& WXUNUSED(event)) void wxSashWindow::OnMouseEvent(wxMouseEvent& event) { - long x, y; - event.Position(&x, &y); + wxCoord x, y; + event.GetPosition(&x, &y); wxSashEdgePosition sashHit = SashHitTest(x, y);