]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
bitmap and image updates
[wxWidgets.git] / 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);