]> git.saurik.com Git - wxWidgets.git/commitdiff
another compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 1999 18:48:40 +0000 (18:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 2 Nov 1999 18:48:40 +0000 (18:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/sashwin.cpp

index 18b56afa7b7ae15dede1891a6e931a2246d94aad..df44939ecb400619b12dab6c33952562393ecadf 100644 (file)
@@ -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);