]>
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 | ||
15 | #include "wx/listbox.h" | |
dcf924a3 RR |
16 | |
17 | #if wxUSE_LISTBOX | |
18 | ||
19 | #include "wx/dynarray.h" | |
09cf7c58 | 20 | #include "wx/utils.h" |
caaa4cfd RR |
21 | #include "wx/intl.h" |
22 | #include "wx/checklst.h" | |
72a16063 | 23 | #include "wx/settings.h" |
291a8f20 RR |
24 | |
25 | #if wxUSE_TOOLTIPS | |
b1170810 | 26 | #include "wx/tooltip.h" |
291a8f20 | 27 | #endif |
c801d85f | 28 | |
83624f79 RR |
29 | #include "gdk/gdk.h" |
30 | #include "gtk/gtk.h" | |
354aa1e3 | 31 | #include "gdk/gdkkeysyms.h" |
83624f79 | 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 |