Resolve ambiguity in calling overloaded wxPropertyGrid::SendEvent()

The right overloaded SendEvent() function can be determined by explicitly
casting second argument of the call to (wxPGProperty*) type.
This commit is contained in:
Artur Wieczorek
2019-04-28 18:34:36 +02:00
parent 96e24e73d6
commit 92d2be5842
3 changed files with 4 additions and 4 deletions

View File

@@ -401,7 +401,7 @@ void wxPropertyGridPageState::OnClientWidthChange( int newWidth, int widthChange
if ( pg->GetState() == this )
{
pg->SendEvent(wxEVT_PG_COLS_RESIZED, NULL);
pg->SendEvent(wxEVT_PG_COLS_RESIZED, (wxPGProperty*)NULL);
}
}