]> git.saurik.com Git - wxWidgets.git/blame - src/common/srchcmn.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / srchcmn.cpp
CommitLineData
3f7f284d
RD
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
f36e602b 36const char wxSearchCtrlNameStr[] = "searchCtrl";
3f7f284d 37
3c778901
VZ
38wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN, wxCommandEvent);
39wxDEFINE_EVENT(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN, wxCommandEvent);
3f7f284d
RD
40
41
42#endif // wxUSE_SEARCHCTRL