X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac349b6e662fbd445618f13dc3d9ae881c1e7ebf..be8332eb97efb229427486433c7593a67b4b1a4c:/tests/sizers/boxsizer.cpp diff --git a/tests/sizers/boxsizer.cpp b/tests/sizers/boxsizer.cpp index 3087f6f07c..558f15883b 100644 --- a/tests/sizers/boxsizer.cpp +++ b/tests/sizers/boxsizer.cpp @@ -185,7 +185,6 @@ void BoxSizerTestCase::Size3() child[1] = new wxWindow(m_win, wxID_ANY); child[2] = new wxWindow(m_win, wxID_ANY); - int j; for ( unsigned i = 0; i < WXSIZEOF(layoutTestData); i++ ) { LayoutTestData ltd = layoutTestData[i]; @@ -219,6 +218,8 @@ void BoxSizerTestCase::Size3() } m_sizer->Clear(); + + unsigned j; for ( j = 0; j < WXSIZEOF(child); j++ ) ltd.AddToSizer(m_sizer, child[j], j);