]> git.saurik.com Git - wxWidgets.git/blob - src/common/srchcmn.cpp
Don't reset m_fp if wxFFile::Open() fails.
[wxWidgets.git] / src / common / srchcmn.cpp
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 // Copyright: (c) wxWidgets team
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 // ============================================================================
12 // declarations
13 // ============================================================================
14
15 // ----------------------------------------------------------------------------
16 // headers
17 // ----------------------------------------------------------------------------
18
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
21
22 #ifdef __BORLANDC__
23 #pragma hdrstop
24 #endif
25
26 #if wxUSE_SEARCHCTRL
27
28 #include "wx/srchctrl.h"
29
30 #ifndef WX_PRECOMP
31 #endif
32
33 // ----------------------------------------------------------------------------
34
35 const char wxSearchCtrlNameStr[] = "searchCtrl";
36
37 wxDEFINE_EVENT(wxEVT_SEARCHCTRL_CANCEL_BTN, wxCommandEvent);
38 wxDEFINE_EVENT(wxEVT_SEARCHCTRL_SEARCH_BTN, wxCommandEvent);
39
40
41 #endif // wxUSE_SEARCHCTRL