| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 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$ |
| 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 char wxSearchCtrlNameStr[] = "searchCtrl"; |
| 37 | |
| 38 | wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, wxCommandEvent); |
| 39 | wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN, wxCommandEvent); |
| 40 | |
| 41 | |
| 42 | #endif // wxUSE_SEARCHCTRL |