]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/foldbar/foldpanelbar.cpp
GCC fixes: order of initializations, type casting, empty last lines.
[wxWidgets.git] / contrib / src / foldbar / foldpanelbar.cpp
index e7d6ff526842a1bb1a92eedbe5e3d6b48ec12189..b3d9b30e696c2331a2a7cb36c0ee9ed71d53bef2 100644 (file)
@@ -235,7 +235,7 @@ void wxFoldPanelBar::RefreshPanelsFrom(wxFoldPanelItem *item)
 {
     wxASSERT(item);
 
-    size_t i = _panels.Index(item);
+    int i = _panels.Index(item);
     if(i != wxNOT_FOUND)
         RefreshPanelsFrom(i);
 }
@@ -347,4 +347,4 @@ int wxFoldPanelBar::GetPanelsHeight(int &collapsed, int &expanded)
 
     return value;
 
-}
\ No newline at end of file
+}