]>
Commit | Line | Data |
---|---|---|
c801d85f KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: listbox.cpp | |
3 | // Purpose: | |
4 | // Author: Robert Roebling | |
f96aa4d9 RR |
5 | // Id: $Id$ |
6 | // Copyright: (c) 1998 Robert Roebling | |
a3622daa | 7 | // Licence: wxWindows licence |
c801d85f KB |
8 | ///////////////////////////////////////////////////////////////////////////// |
9 | ||
10 | ||
11 | #ifdef __GNUG__ | |
12 | #pragma implementation "listbox.h" | |
13 | #endif | |
14 | ||
6a6d4eed | 15 | #include "wx/dynarray.h" |
c801d85f | 16 | #include "wx/listbox.h" |
09cf7c58 | 17 | #include "wx/utils.h" |
caaa4cfd RR |
18 | #include "wx/intl.h" |
19 | #include "wx/checklst.h" | |
72a16063 | 20 | #include "wx/settings.h" |
291a8f20 RR |
21 | |
22 | #if wxUSE_TOOLTIPS | |
b1170810 | 23 | #include "wx/tooltip.h" |
291a8f20 | 24 | #endif |
c801d85f | 25 | |
06cfab17 RR |
26 | #if wxUSE_DRAG_AND_DROP |
27 | #include "wx/dnd.h" | |
28 | #endif | |
29 | ||
83624f79 RR |
30 | #include "gdk/gdk.h" |
31 | #include "gtk/gtk.h" | |
32 | ||
acfd422a RR |
33 | //----------------------------------------------------------------------------- |
34 | // idle system | |
35 | //----------------------------------------------------------------------------- | |
36 | ||
37 | extern void wxapp_install_idle_handler(); | |
38 | extern bool g_isIdle; | |
39 | ||
38c7b3d3 RR |
40 | //------------------------------------------------------------------------- |
41 | // conditional compilation | |
42 | //------------------------------------------------------------------------- | |
43 | ||
d345e841 | 44 | #if (GTK_MINOR_VERSION > 0) |
88ac883a | 45 | #define NEW_GTK_SCROLL_CODE |
38c7b3d3 RR |
46 | #endif |
47 | ||
bb0ca8df VZ |
48 | //----------------------------------------------------------------------------- |
49 | // private functions | |
50 | //----------------------------------------------------------------------------- | |
51 | ||
88ac883a VZ |
52 | #if wxUSE_CHECKLISTBOX |
53 | ||
bb0ca8df VZ |
54 | #define CHECKBOX_STRING "[-] " |
55 | ||
56 |