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