Notify wxPropertyGrid about selected property while restoring editable state
Grid should be notified about selected property on actually selected page to e.g. update property description.
This commit is contained in:
@@ -1181,7 +1181,10 @@ bool wxPropertyGridInterface::RestoreEditableState( const wxString& src, int res
|
|||||||
|
|
||||||
if ( selectedPage != -1 )
|
if ( selectedPage != -1 )
|
||||||
{
|
{
|
||||||
DoSelectPage(selectedPage);
|
if ( DoSelectPage(selectedPage) )
|
||||||
|
{
|
||||||
|
pg->SendEvent(wxEVT_PG_SELECTED, pg->GetSelectedProperty());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( vx >= 0 )
|
if ( vx >= 0 )
|
||||||
|
Reference in New Issue
Block a user