Avoid warnings from VC++ 5.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user