wxVariant list used to translate between list of property child values and composite value string now maps values by names instead of labels. Naturally this means properties can no longer have empty name (this change allows using identical labels under same parent property. Ported from wxpropgrid SVN trunk)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1872,7 +1872,7 @@ protected:
|
||||
*/
|
||||
wxString GetColumnText( unsigned int col ) const;
|
||||
|
||||
/** Returns (direct) child property with given label (or NULL if not found),
|
||||
/** Returns (direct) child property with given name (or NULL if not found),
|
||||
with hint index.
|
||||
|
||||
@param hintIndex
|
||||
@@ -1881,8 +1881,8 @@ protected:
|
||||
@remarks
|
||||
Does not support scope (ie. Parent.Child notation).
|
||||
*/
|
||||
wxPGProperty* GetPropertyByLabelWH( const wxString& label,
|
||||
unsigned int hintIndex ) const;
|
||||
wxPGProperty* GetPropertyByNameWH( const wxString& name,
|
||||
unsigned int hintIndex ) const;
|
||||
|
||||
/** This is used by Insert etc. */
|
||||
void AddChild2( wxPGProperty* prop,
|
||||
|
Reference in New Issue
Block a user