]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/vscroll.cpp
there is no need to convert wxArrayString to wxString[] explicitly any more, wx contr...
[wxWidgets.git] / src / generic / vscroll.cpp
index 59a65f856e03ac1c86b0782809873b8b938f67bb..a7d388a9bf4bb4af08507786f1c8db052e3a87b4 100644 (file)
@@ -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