///////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx.h".
///////////////////////////////////////////////////////////////////////////////
// For compilers that support precompilation, includes "wx.h".
- m_peer = wxWidgetImpl::CreateSearchControl( this, GetParent(), GetId(), value, pos, size, style, GetExtraStyle() );
+ SetPeer(wxWidgetImpl::CreateSearchControl( this, GetParent(), GetId(), value, pos, size, style, GetExtraStyle() ));
event.SetEventObject(this);
// provide the string to search for directly in the event, this is more
event.SetEventObject(this);
// provide the string to search for directly in the event, this is more