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:
@@ -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 )
|
||||
|
Reference in New Issue
Block a user