]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix compilation error in recent change to wxSizeEvent generation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Apr 2011 15:12:59 +0000 (15:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Apr 2011 15:12:59 +0000 (15:12 +0000)
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

src/common/combocmn.cpp

index 59297fe943154c39ad5f75a0d5be9a97c2041d6b..8b2ff1940bd026371c957bab348940dc9438762c 100644 (file)
@@ -1048,7 +1048,7 @@ bool wxComboCtrlBase::Create(wxWindow *parent,
     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);
     }
 
@@ -1752,7 +1752,7 @@ void wxComboCtrlBase::RecalcAndRefresh()
     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();
     }