From: Vadim Zeitlin Date: Sat, 23 Apr 2011 15:12:59 +0000 (+0000) Subject: Fix compilation error in recent change to wxSizeEvent generation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/54580df4e2faf875a73b59913b618731cb582b67 Fix compilation error in recent change to wxSizeEvent generation. 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 --- 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(); }