]>
Commit | Line | Data |
---|---|---|
2bda0e17 | 1 | ///////////////////////////////////////////////////////////////////////////// |
f6bcfd97 | 2 | // Name: msw/combobox.cpp |
2bda0e17 KB |
3 | // Purpose: wxComboBox class |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
6c9a19aa | 8 | // Copyright: (c) Julian Smart |
c085e333 | 9 | // Licence: wxWindows licence |
2bda0e17 KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
f6bcfd97 BP |
12 | // ============================================================================ |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
14f355c2 | 20 | #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) |
2bda0e17 KB |
21 | #pragma implementation "combobox.h" |
22 | #endif | |
23 | ||
24 | // For compilers that support precompilation, includes "wx.h". | |
25 | #include "wx/wxprec.h" | |
26 | ||
27 | #ifdef __BORLANDC__ | |
fddfd9e1 | 28 | #pragma hdrstop |
2bda0e17 KB |
29 | #endif |
30 | ||
af79c52d VZ |
31 | #if wxUSE_COMBOBOX |
32 | ||
2bda0e17 | 33 | #ifndef WX_PRECOMP |
fddfd9e1 VZ |
34 | #include "wx/settings.h" |
35 | #include "wx/log.h" | |
2b5f62a0 VZ |
36 | // for wxEVT_COMMAND_TEXT_ENTER |
37 | #include "wx/textctrl.h" | |
2bda0e17 KB |
38 | #endif |
39 | ||
2bda0e17 | 40 | #include "wx/combobox.h" |
f6bcfd97 | 41 | #include "wx/brush.h" |
2bda0e17 KB |
42 | #include "wx/clipbrd.h" |
43 | #include "wx/msw/private.h" | |
44 | ||
f6bcfd97 | 45 | #if wxUSE_TOOLTIPS |
ae090fdb | 46 | #if !defined(__GNUWIN32_OLD__) || defined(__CYGWIN10__) |
f6bcfd97 BP |
47 | #include <commctrl.h> |
48 | #endif | |
49 | #include "wx/tooltip.h" | |
50 | #endif // wxUSE_TOOLTIPS | |
51 | ||
52 | // ---------------------------------------------------------------------------- | |
53 | // wxWin macros | |
54 | // ---------------------------------------------------------------------------- | |
55 | ||
2bda0e17 | 56 | IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl) |
2bda0e17 | 57 | |
066f1b7a SC |
58 | /* |
59 | TODO PROPERTIES | |
60 |