// Purpose: implements mac carbon wxSearchCtrl
// Author: Vince Harron
// Created: 2006-02-19
-// RCS-ID: $Id$
// Copyright: Vince Harron
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
bool wxSearchCtrl::HandleSearchFieldSearchHit()
{
- wxCommandEvent event(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN, m_windowId );
+ wxCommandEvent event(wxEVT_SEARCHCTRL_SEARCH_BTN, m_windowId );
event.SetEventObject(this);
// provide the string to search for directly in the event, this is more
bool wxSearchCtrl::HandleSearchFieldCancelHit()
{
- wxCommandEvent event(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, m_windowId );
+ wxCommandEvent event(wxEVT_SEARCHCTRL_CANCEL_BTN, m_windowId );
event.SetEventObject(this);
return ProcessCommand(event);
}