]>
Commit | Line | Data |
---|---|---|
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 | |
e1d3601a PC |
7 | // Copyright: (c) 2005 Jaakko Salli |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | // ============================================================================ | |
12 | // declarations | |
13 | // ============================================================================ | |
14 | ||
15 | // ---------------------------------------------------------------------------- | |
16 | // headers | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
19 | #include "wx/wxprec.h" | |
20 | ||
21 | #ifdef __BORLANDC__ | |
22 | #pragma hdrstop | |
23 | #endif | |
24 | ||
25 | #if wxUSE_ODCOMBOBOX | |
26 | ||
27 | #include "wx/odcombo.h" | |
28 | ||
29 | #ifndef WX_PRECOMP | |
30 | #include "wx/log.h" | |
31 | #include "wx/combobox.h" | |
32 | #include "wx/dcclient.h" | |
33 | #include "wx/settings.h" | |
34 | #include "wx/dialog.h" | |
35 | #endif | |
36 | ||
37 | #include "wx/combo.h" | |
38 | ||
39 | // ---------------------------------------------------------------------------- | |
40 | // XTI | |
41 | // ---------------------------------------------------------------------------- | |
42 | ||
43 | wxIMPLEMENT_DYNAMIC_CLASS2_XTI(wxOwnerDrawnComboBox, wxComboCtrl, \ | |
44 | wxControlWithItems, "wx/odcombo.h") | |
45 | ||
46 | wxBEGIN_PROPERTIES_TABLE(wxOwnerDrawnComboBox) | |
47 | wxEND_PROPERTIES_TABLE() | |
48 | ||
49 | wxEMPTY_HANDLERS_TABLE(wxOwnerDrawnComboBox) | |
50 | ||
51 | wxCONSTRUCTOR_5( wxOwnerDrawnComboBox , wxWindow* , Parent , wxWindowID , \ | |
52 | Id , wxString , Value , wxPoint , Position , wxSize , Size ) | |
53 | ||
54 | #endif // wxUSE_ODCOMBOBOX |