]>
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 | #include <gdk/gdk.h> | |
30 | #include <gtk/gtk.h> | |
31 | #include <gdk/gdkkeysyms.h> | |
32 | ||
33 | //----------------------------------------------------------------------------- | |
34 | // idle system | |
35 | //----------------------------------------------------------------------------- | |
36 | ||
37 | extern void wxapp_install_idle_handler(); | |
38 | extern bool g_isIdle; | |
39 | ||
40 | //------------------------------------------------------------------------- | |
41 | // conditional compilation | |
42 | //------------------------------------------------------------------------- | |
43 | ||
44 | #if (GTK_MINOR_VERSION > 0) | |
45 | #define NEW_GTK_SCROLL_CODE | |
46 | #endif | |
47 | ||
48 | //----------------------------------------------------------------------------- | |
49 | // private functions | |
50 | //----------------------------------------------------------------------------- | |
51 | ||
52 | #if wxUSE_CHECKLISTBOX | |
53 | ||
54 |