Resolve ambiguity of calling overloaded wxPropertyGrid::SendEvent()

The right overloaded SendEvent() function is pointed out by explicitly
casting second argument of the call to (wxPGProperty*) type.
This commit is contained in:
Artur Wieczorek
2019-01-11 20:08:20 +01:00
parent a005391413
commit 848d7d67ee

View File

@@ -1797,7 +1797,7 @@ void wxPropertyGridManager::OnToolbarClick( wxCommandEvent &event )
if ( DoSelectPage(index) ) if ( DoSelectPage(index) )
{ {
// Event dispatching must be last. // Event dispatching must be last.
m_pPropGrid->SendEvent( wxEVT_PG_PAGE_CHANGED, NULL ); m_pPropGrid->SendEvent( wxEVT_PG_PAGE_CHANGED, (wxPGProperty*)NULL );
} }
else else
{ {