Display additional information for EVT_PG_SELECTED event in propgrid sample.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Artur Wieczorek
2015-02-15 23:26:42 +00:00
parent f7fc873ec7
commit 7b8da40c8e

View File

@@ -1763,9 +1763,12 @@ wxBEGIN_EVENT_TABLE(wxMyPropertyGridPage, wxPropertyGridPage)
wxEND_EVENT_TABLE()
void wxMyPropertyGridPage::OnPropertySelect( wxPropertyGridEvent& WXUNUSED(event) )
void wxMyPropertyGridPage::OnPropertySelect( wxPropertyGridEvent& event )
{
wxLogDebug(wxT("wxMyPropertyGridPage::OnPropertySelect()"));
wxPGProperty* p = event.GetProperty();
wxLogDebug(wxT("wxMyPropertyGridPage::OnPropertySelect('%s' is %s"),
p->GetName().c_str(),
IsPropertySelected(p)? wxT("selected"): wxT("unselected"));
}
void wxMyPropertyGridPage::OnPropertyChange( wxPropertyGridEvent& event )