]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
wxDialog change (Show() completely rewritten, modal dialogs handling changed)
[wxWidgets.git] / src / generic / splitter.cpp
index 7070960e1e047667d7fdef8a01bd8d618b048fb4..31aea495e1752f47834d36b9b3d2c3ab727d269f 100644 (file)
@@ -162,8 +162,8 @@ void wxSplitterWindow::OnIdle(wxIdleEvent& WXUNUSED(event))
 
 void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
 {
-    long x = event.GetX();
-    long y = event.GetY();
+    wxCoord x = (wxCoord)event.GetX(),
+            y = (wxCoord)event.GetY();
 
     // reset the cursor
 #ifdef __WXMOTIF__