]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/treectlg.cpp
gdk_draw_pixmap -> gdk_draw_drawable
[wxWidgets.git] / src / generic / treectlg.cpp
index fd499ea6feb3e5db3110a2c0dcfa1497d5fd0cfc..25576d2fb7e1759a739199d8e71f6ec9dec282ec 100644 (file)
@@ -863,7 +863,7 @@ wxGenericTreeCtrl::~wxGenericTreeCtrl()
 // accessors
 // -----------------------------------------------------------------------------
 
 // accessors
 // -----------------------------------------------------------------------------
 
-size_t wxGenericTreeCtrl::GetCount() const
+unsigned int wxGenericTreeCtrl::GetCount() const
 {
     if ( !m_anchor )
     {
 {
     if ( !m_anchor )
     {
@@ -871,7 +871,7 @@ size_t wxGenericTreeCtrl::GetCount() const
         return 0;
     }
 
         return 0;
     }
 
-    size_t count = m_anchor->GetChildrenCount();
+    unsigned int count = m_anchor->GetChildrenCount();
     if ( !HasFlag(wxTR_HIDE_ROOT) )
     {
         // take the root itself into account
     if ( !HasFlag(wxTR_HIDE_ROOT) )
     {
         // take the root itself into account