Use wxPropertyGridEventHandler in commented-out sample connect code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2008-09-27 15:17:21 +00:00
parent 0dc44cac21
commit adea524493

View File

@ -2040,11 +2040,9 @@ void FormMain::CreateGrid( int style, int extraStyle )
/*
// This would setup event handling without event table entries
Connect(m_pPropGridManager->GetId(), wxEVT_PG_SELECTED,
(wxObjectEventFunction) (wxEventFunction) (wxPropertyGridEventFunction)
&FormMain::OnPropertyGridSelect );
wxPropertyGridEventHandler(FormMain::OnPropertyGridSelect) );
Connect(m_pPropGridManager->GetId(), wxEVT_PG_CHANGED,
(wxObjectEventFunction) (wxEventFunction) (wxPropertyGridEventFunction)
&FormMain::OnPropertyGridChange );
wxPropertyGridEventHandler(FormMain::OnPropertyGridChange) );
*/
m_topSizer->Add( m_pPropGridManager, 1, wxEXPAND );