]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/sashwin.cpp
Build fix after wxColourBase introduction.
[wxWidgets.git] / src / generic / sashwin.cpp
index 85b0648bf4b79eac2001d69bd95ffc289ec0f29c..b9e554da14270c6530724dd1dedcbcd6f8051b30 100644 (file)
@@ -95,7 +95,7 @@ void wxSashWindow::OnPaint(wxPaintEvent& WXUNUSED(event))
 
 void wxSashWindow::OnMouseEvent(wxMouseEvent& event)
 {
-    wxCoord x, y;
+    wxCoord x = 0, y = 0;
     event.GetPosition(&x, &y);
 
     wxSashEdgePosition sashHit = SashHitTest(x, y);