]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/splitter.cpp
fixed memory leaks
[wxWidgets.git] / src / generic / splitter.cpp
index 66878cda3781b97100acc04a41fb6dc1418abfea..31aea495e1752f47834d36b9b3d2c3ab727d269f 100644 (file)
@@ -162,8 +162,8 @@ void wxSplitterWindow::OnIdle(wxIdleEvent& WXUNUSED(event))
 
 void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
 {
-    wxCoord x = event.GetX(),
-            y = event.GetY();
+    wxCoord x = (wxCoord)event.GetX(),
+            y = (wxCoord)event.GetY();
 
     // reset the cursor
 #ifdef __WXMOTIF__