X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15fa4de377053c3c38f62593b2df941c217ea34b..54580df4e2faf875a73b59913b618731cb582b67:/src/common/combocmn.cpp?ds=sidebyside 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(); }