1 |
william |
31 |
///////////////////////////////////////////////////////////////////////////// |
2 |
|
|
// Name: src/common/srchcmn.cpp |
3 |
|
|
// Purpose: common (to all ports) bits of wxSearchCtrl |
4 |
|
|
// Author: Robin Dunn |
5 |
|
|
// Modified by: |
6 |
|
|
// Created: 19-Dec-2006 |
7 |
|
|
// RCS-ID: $Id: srchcmn.cpp 43939 2006-12-11 20:32:16Z KO $ |
8 |
|
|
// Copyright: (c) wxWidgets team |
9 |
|
|
// Licence: wxWindows licence |
10 |
|
|
///////////////////////////////////////////////////////////////////////////// |
11 |
|
|
|
12 |
|
|
// ============================================================================ |
13 |
|
|
// declarations |
14 |
|
|
// ============================================================================ |
15 |
|
|
|
16 |
|
|
// ---------------------------------------------------------------------------- |
17 |
|
|
// headers |
18 |
|
|
// ---------------------------------------------------------------------------- |
19 |
|
|
|
20 |
|
|
// For compilers that support precompilation, includes "wx.h". |
21 |
|
|
#include "wx/wxprec.h" |
22 |
|
|
|
23 |
|
|
#ifdef __BORLANDC__ |
24 |
|
|
#pragma hdrstop |
25 |
|
|
#endif |
26 |
|
|
|
27 |
|
|
#if wxUSE_SEARCHCTRL |
28 |
|
|
|
29 |
|
|
#include "wx/srchctrl.h" |
30 |
|
|
|
31 |
|
|
#ifndef WX_PRECOMP |
32 |
|
|
#endif |
33 |
|
|
|
34 |
|
|
// ---------------------------------------------------------------------------- |
35 |
|
|
|
36 |
|
|
const wxChar wxSearchCtrlNameStr[] = wxT("searchCtrl"); |
37 |
|
|
|
38 |
|
|
DEFINE_EVENT_TYPE(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN) |
39 |
|
|
DEFINE_EVENT_TYPE(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN) |
40 |
|
|
|
41 |
|
|
|
42 |
|
|
#endif // wxUSE_SEARCHCTRL |