X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df97a4ef79613ac2f73a62601a9fa738d79c77a4..423adfde5464b1c0d053f40cdac6768ae3a15abb:/src/common/combocmn.cpp diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 59297fe943..8b2ff1940b 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -1048,7 +1048,7 @@ bool wxComboCtrlBase::Create(wxWindow *parent, if ( size.x > 0 && size.y > 0 ) { wxSizeEvent evt(size,GetId()); - event.SetEventObject(this); + evt.SetEventObject(this); GetEventHandler()->AddPendingEvent(evt); } @@ -1752,7 +1752,7 @@ void wxComboCtrlBase::RecalcAndRefresh() if ( IsCreated() ) { wxSizeEvent evt(GetSize(),GetId()); - event.SetEventObject(this); + evt.SetEventObject(this); GetEventHandler()->ProcessEvent(evt); Refresh(); }