Added multiple selection feature to wxPropertyGrid (enabled by setting wxPG_EX_MULTIPLE_SELECTION style)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -418,7 +418,20 @@ public:
|
||||
wxVariant GetPropertyValues( const wxString& listname = wxEmptyString,
|
||||
wxPGProperty* baseparent = NULL, long flags = 0 ) const;
|
||||
|
||||
/** Returns currently selected property. */
|
||||
/**
|
||||
Returns list of currently selected properties.
|
||||
|
||||
@remarks wxArrayPGProperty should be compatible with std::vector API.
|
||||
*/
|
||||
const wxArrayPGProperty& GetSelectedProperties() const;
|
||||
|
||||
/**
|
||||
Returns currently selected property. NULL if none.
|
||||
|
||||
@remarks When wxPG_EX_MULTIPLE_SELECTION extra style is used, this
|
||||
member function returns the focused property, that is the
|
||||
one which can have active editor.
|
||||
*/
|
||||
wxPGProperty* GetSelection() const;
|
||||
|
||||
/**
|
||||
@@ -538,6 +551,11 @@ public:
|
||||
*/
|
||||
bool IsPropertyModified( wxPGPropArg id ) const;
|
||||
|
||||
/**
|
||||
Returns true if property is selected.
|
||||
*/
|
||||
virtual bool IsPropertySelected( wxPGPropArg id ) const;
|
||||
|
||||
/**
|
||||
Returns @true if property is shown (ie. HideProperty() with @true not
|
||||
called for it).
|
||||
|
Reference in New Issue
Block a user