Changed argument of wxPropertyGrid::OnCustomEditorEvent() from wxCommandEvent to wxEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3125,7 +3125,7 @@ bool wxPropertyGrid::ProcessEvent(wxEvent& event)
|
||||
(parent == m_canvas ||
|
||||
parent->GetParent() == m_canvas) )
|
||||
{
|
||||
OnCustomEditorEvent((wxCommandEvent&)event);
|
||||
OnCustomEditorEvent(event);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -3134,9 +3134,7 @@ bool wxPropertyGrid::ProcessEvent(wxEvent& event)
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
// NB: It may really not be wxCommandEvent - must check if necessary
|
||||
// (usually not).
|
||||
void wxPropertyGrid::OnCustomEditorEvent( wxCommandEvent &event )
|
||||
void wxPropertyGrid::OnCustomEditorEvent( wxEvent &event )
|
||||
{
|
||||
wxPGProperty* selected = m_selected;
|
||||
|
||||
|
Reference in New Issue
Block a user