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