]> git.saurik.com Git - wxWidgets.git/blobdiff - src/propgrid/propgridiface.cpp
allow calling SetItemLabel() for items not attached to the menu or menu bar yet ...
[wxWidgets.git] / src / propgrid / propgridiface.cpp
index 033f06121379de33117279e8a112e258ba655555..8f0bab8b5a96c068287879a07d200a46f99faf05 100644 (file)
@@ -498,18 +498,6 @@ bool wxPropertyGridInterface::ExpandAll( bool doExpand )
 
 // -----------------------------------------------------------------------
 
-void wxPropertyGridInterface::SetPropertyValueUnspecified( wxPGPropArg id )
-{
-    wxPG_PROP_ARG_CALL_PROLOG()
-    wxPropertyGrid* propGrid = p->GetGridIfDisplayed();
-    if ( propGrid )
-        propGrid->DoSetPropertyValueUnspecified(p);
-    else
-        p->GetParentState()->DoSetPropertyValueUnspecified(p);
-}
-
-// -----------------------------------------------------------------------
-
 void wxPropertyGridInterface::ClearModifiedStatus()
 {
     unsigned int pageIndex = 0;
@@ -762,7 +750,7 @@ bool wxPropertyGridInterface::Expand( wxPGPropArg id )
 
 // -----------------------------------------------------------------------
 
-void wxPropertyGridInterface::Sort()
+void wxPropertyGridInterface::Sort( int flags )
 {
     wxPropertyGrid* pg = GetPropertyGrid();
 
@@ -774,7 +762,7 @@ void wxPropertyGridInterface::Sort()
     {
         wxPropertyGridPageState* page = GetPageState(pageIndex);
         if ( !page ) break;
-        page->DoSort();
+        page->DoSort(flags);
         pageIndex++;
     }
 }