]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct spelling and signature of FixIndexesOfChildren
authorRobert Roebling <robert@roebling.de>
Sun, 12 Oct 2008 18:07:01 +0000 (18:07 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 12 Oct 2008 18:07:01 +0000 (18:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/property.h
src/propgrid/property.cpp
src/propgrid/propgridpagestate.cpp

index 1c209463c824b8c0100f5d2e64df288311e55f5e..4037e14b1d83497a62233fd5885cee2dfe337c78 100644 (file)
@@ -1914,7 +1914,7 @@ public:
     void Empty();
 
     // Puts correct indexes to children
     void Empty();
 
     // Puts correct indexes to children
-    void FixIndexesOfChildren( unsigned int starthere = 0 );
+    void FixIndecesOfChildren( unsigned int starthere = 0 );
 
 #ifndef SWIG
     // Returns wxPropertyGridPageState in which this property resides.
 
 #ifndef SWIG
     // Returns wxPropertyGridPageState in which this property resides.
index e26512862e29c4eec95fa48833a081836fc44ca3..d8cdd2c5e3771637f9789bbae0eda1c1cfdcb04a 100644 (file)
@@ -1561,7 +1561,7 @@ void wxPGProperty::AddChild2( wxPGProperty* prop, int index, bool correct_mode )
     else
     {
         m_children.insert( m_children.begin()+index, prop);
     else
     {
         m_children.insert( m_children.begin()+index, prop);
-        if ( correct_mode ) FixIndexesOfChildren( index );
+        if ( correct_mode ) FixIndecesOfChildren( index );
     }
 
     prop->m_parent = this;
     }
 
     prop->m_parent = this;
@@ -1651,7 +1651,7 @@ void wxPGProperty::AdaptListToValue( wxVariant& list, wxVariant* value ) const
 }
 
 
 }
 
 
-void wxPGProperty::FixIndexesOfChildren( size_t starthere )
+void wxPGProperty::FixIndecesOfChildren( unsigned int starthere )
 {
     size_t i;
     for ( i=starthere;i<GetChildCount();i++)
 {
     size_t i;
     for ( i=starthere;i<GetChildCount();i++)
index 4fff40666a37a7f69af148cb3c6a936e9e3f74e6..06adc31f0714497e96eadbd70f6a745d5c4649b5 100644 (file)
@@ -632,7 +632,7 @@ void wxPropertyGridPageState::SortChildren( wxPGProperty* p )
 #endif
 
     // Fix indexes
 #endif
 
     // Fix indexes
-    pwc->FixIndexesOfChildren();
+    pwc->FixIndecesOfChildren();
 
 }
 
 
 }
 
@@ -1826,7 +1826,7 @@ void wxPropertyGridPageState::DoDelete( wxPGProperty* item )
             }
 
             if ( IsInNonCatMode() )
             }
 
             if ( IsInNonCatMode() )
-                m_abcArray->FixIndexesOfChildren();
+                m_abcArray->FixIndecesOfChildren();
         }
     }
 
         }
     }
 
@@ -1844,7 +1844,7 @@ void wxPropertyGridPageState::DoDelete( wxPGProperty* item )
         // categorized mode - categorized array
         wxArrayPGProperty& parentsChildren = item->m_parent->m_children;
         parentsChildren.erase( parentsChildren.begin() + indinparent );
         // categorized mode - categorized array
         wxArrayPGProperty& parentsChildren = item->m_parent->m_children;
         parentsChildren.erase( parentsChildren.begin() + indinparent );
-        item->m_parent->FixIndexesOfChildren();
+        item->m_parent->FixIndecesOfChildren();
     }
     else
     {
     }
     else
     {
@@ -1877,7 +1877,7 @@ void wxPropertyGridPageState::DoDelete( wxPGProperty* item )
             wxASSERT( item->m_parent == m_abcArray );
             wxArrayPGProperty& parentsChildren = item->m_parent->m_children;
             parentsChildren.erase(parentsChildren.begin() + indinparent);
             wxASSERT( item->m_parent == m_abcArray );
             wxArrayPGProperty& parentsChildren = item->m_parent->m_children;
             parentsChildren.erase(parentsChildren.begin() + indinparent);
-            item->m_parent->FixIndexesOfChildren(indinparent);
+            item->m_parent->FixIndecesOfChildren(indinparent);
         }
     }
 
         }
     }