]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
Add support for the new history functions to the ie backend. For this we manage our...
[wxWidgets.git] / src / common / combocmn.cpp
index abb162921e85c79aa1fcb9cbaadbe75a2edb6f01..8b2ff1940bd026371c957bab348940dc9438762c 100644 (file)
@@ -1044,10 +1044,11 @@ bool wxComboCtrlBase::Create(wxWindow *parent,
     m_iFlags |= wxCC_IFLAG_CREATED;
 
     // If x and y indicate valid size, wxSizeEvent won't be
-    // emitted automatically, so we need to add artifical one.
+    // emitted automatically, so we need to add artificial one.
     if ( size.x > 0 && size.y > 0 )
     {
         wxSizeEvent evt(size,GetId());
+        evt.SetEventObject(this);
         GetEventHandler()->AddPendingEvent(evt);
     }
 
@@ -1751,6 +1752,7 @@ void wxComboCtrlBase::RecalcAndRefresh()
     if ( IsCreated() )
     {
         wxSizeEvent evt(GetSize(),GetId());
+        evt.SetEventObject(this);
         GetEventHandler()->ProcessEvent(evt);
         Refresh();
     }