]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sizer.cpp
Might aswell show the compile- and runtime versions of GTK+ in the ctrl+alt+mclick...
[wxWidgets.git] / src / common / sizer.cpp
index a2218c39338b213281d2e4f49657785b76aade68..5db2c3022254f586f8776d098ff0a44964d74ab9 100644 (file)
@@ -1324,10 +1324,12 @@ void wxFlexGridSizer::AdjustForFlexDirection()
         wxArrayInt& array = m_flexDirection == wxVERTICAL ? m_colWidths
                                                           : m_rowHeights;
 
-        const int count = array.GetCount();
+        const size_t count = array.GetCount();
 
         // find the largest value in this array
-        int n, largest = 0;
+        size_t n;
+        int largest = 0;
+
         for ( n = 0; n < count; ++n )
         {
             if ( array[n] > largest )