]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/sizers/boxsizer.cpp
wxVariant <-> wxAny conversion functionality. Includes implicit construction of wxAny...
[wxWidgets.git] / tests / sizers / boxsizer.cpp
index 3087f6f07c10257658f06511f63cb92d5479e848..558f15883babacffbe5fd3ec97290d7381f8074c 100644 (file)
@@ -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);