]> git.saurik.com Git - wxWidgets.git/blame - src/gtk/listbox.cpp
remove the #warning for VisualAge
[wxWidgets.git] / src / gtk / listbox.cpp
CommitLineData
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
3fa056ab
JJ
29#ifdef __VMS__
30#define gtk_scrolled_window_add_with_viewport gtk_scrolled_window_add_with_vi
31#define gtk_container_set_focus_vadjustment gtk_container_set_focus_vadjust
32#define gtk_scrolled_window_get_vadjustment gtk_scrolled_window_get_vadjust
33#endif
34# include <gdk/gdk.h>
16c1f79c
RR
35#include <gtk/gtk.h>
36#include <gdk/gdkkeysyms.h>
83624f79 37
acfd422a
RR
38//-----------------------------------------------------------------------------
39// idle system
40//-----------------------------------------------------------------------------
41
42extern void wxapp_install_idle_handler();
43extern bool g_isIdle;
44
38c7b3d3
RR
45//-------------------------------------------------------------------------
46// conditional compilation
47//-------------------------------------------------------------------------
48
d345e841 49#if (GTK_MINOR_VERSION > 0)
88ac883a 50 #define NEW_GTK_SCROLL_CODE
38c7b3d3
RR
51#endif
52
bb0ca8df
VZ
53//-----------------------------------------------------------------------------
54// private functions
55//-----------------------------------------------------------------------------
56
88ac883a
VZ
57#if wxUSE_CHECKLISTBOX
58
bb0ca8df
VZ
59#define CHECKBOX_STRING "[-] "
60
61