]>
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/dynarray.h" | |
16 | #include "wx/listbox.h" | |
17 | #include "wx/utils.h" | |
18 | #include "wx/intl.h" | |
19 | #include "wx/checklst.h" | |
20 | ||
21 | #if wxUSE_TOOLTIPS | |
22 | #include "wx/tooltip.h" | |
23 | #endif | |
24 | ||
25 | #if wxUSE_DRAG_AND_DROP | |
26 | #include "wx/dnd.h" | |
27 | #endif | |
28 | ||
29 | #include "gdk/gdk.h" | |
30 | #include "gtk/gtk.h" | |
31 | ||
32 | //------------------------------------------------------------------------- | |
33 | // conditional compilation | |
34 | //------------------------------------------------------------------------- | |
35 | ||
36 | #if (GTK_MINOR_VERSION > 0) | |
37 | #define NEW_GTK_SCROLL_CODE | |
38 | #endif | |
39 | ||
40 | //----------------------------------------------------------------------------- | |
41 | // private functions | |
42 | //----------------------------------------------------------------------------- | |
43 | ||
44 | #define CHECKBOX_STRING "[-] " | |
45 | ||
46 |