Wrong variable name was used in r67583, fix it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67587
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( size.x > 0 && size.y > 0 )
{
wxSizeEvent evt(size,GetId());
if ( size.x > 0 && size.y > 0 )
{
wxSizeEvent evt(size,GetId());
- event.SetEventObject(this);
+ evt.SetEventObject(this);
GetEventHandler()->AddPendingEvent(evt);
}
GetEventHandler()->AddPendingEvent(evt);
}
if ( IsCreated() )
{
wxSizeEvent evt(GetSize(),GetId());
if ( IsCreated() )
{
wxSizeEvent evt(GetSize(),GetId());
- event.SetEventObject(this);
+ evt.SetEventObject(this);
GetEventHandler()->ProcessEvent(evt);
Refresh();
}
GetEventHandler()->ProcessEvent(evt);
Refresh();
}