X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1aa5517acff9ce039adcd6502db2e88cdd886c7..187d815255d240350c598721db1e0c1b4d3fb527:/src/generic/vscroll.cpp?ds=sidebyside diff --git a/src/generic/vscroll.cpp b/src/generic/vscroll.cpp index 59a65f856e..a7d388a9bf 100644 --- a/src/generic/vscroll.cpp +++ b/src/generic/vscroll.cpp @@ -307,7 +307,7 @@ bool wxVScrolledWindow::Layout() // adjust the sizer dimensions/position taking into account the // virtual size and scrolled position of the window. - int w, h; + int w = 0, h = 0; GetVirtualSize(&w, &h); // x is always 0 so no variable needed