]> git.saurik.com Git - wxWidgets.git/blame - src/common/odcombocmn.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / odcombocmn.cpp
CommitLineData
e1d3601a
PC
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/common/odcombocmn.cpp
3// Purpose: wxOwnerDrawnComboBox common code
4// Author: Jaakko Salli
5// Modified by:
6// Created: Apr-30-2006
7// RCS-ID: $Id$
8// Copyright: (c) 2005 Jaakko Salli
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
20#include "wx/wxprec.h"
21
22#ifdef __BORLANDC__
23 #pragma hdrstop
24#endif
25
26#if wxUSE_ODCOMBOBOX
27
28#include "wx/odcombo.h"
29
30#ifndef WX_PRECOMP
31 #include "wx/log.h"
32 #include "wx/combobox.h"
33 #include "wx/dcclient.h"
34 #include "wx/settings.h"
35 #include "wx/dialog.h"
36#endif
37
38#include "wx/combo.h"
39
40// ----------------------------------------------------------------------------
41// XTI
42// ----------------------------------------------------------------------------
43
44wxIMPLEMENT_DYNAMIC_CLASS2_XTI(wxOwnerDrawnComboBox, wxComboCtrl, \
45 wxControlWithItems, "wx/odcombo.h")
46
47wxBEGIN_PROPERTIES_TABLE(wxOwnerDrawnComboBox)
48wxEND_PROPERTIES_TABLE()
49
50wxEMPTY_HANDLERS_TABLE(wxOwnerDrawnComboBox)
51
52wxCONSTRUCTOR_5( wxOwnerDrawnComboBox , wxWindow* , Parent , wxWindowID , \
53 Id , wxString , Value , wxPoint , Position , wxSize , Size )
54
55#endif // wxUSE_ODCOMBOBOX