X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a536a8bf3f626fec6a9d9ffd82729185d216ac6a..daebb84bff054d3833baca58a5dc506de56c64a1:/src/generic/sashwin.cpp diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index 85b0648bf4..b9e554da14 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -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);