]> git.saurik.com Git - wxWidgets.git/blame - src/gtk1/listbox.cpp
Had missed one LPSTR.
[wxWidgets.git] / src / gtk1 / 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
06cfab17
RR
29#if wxUSE_DRAG_AND_DROP
30#include "wx/dnd.h"
31#endif
32
83624f79
RR
33#include "gdk/gdk.h"
34#include "gtk/gtk.h"
35
acfd422a
RR
36//-----------------------------------------------------------------------------
37// idle system
38//-----------------------------------------------------------------------------
39
40extern void wxapp_install_idle_handler();
41extern bool g_isIdle;
42
38c7b3d3
RR
43//-------------------------------------------------------------------------
44// conditional compilation
45//-------------------------------------------------------------------------
46
d345e841 47#if (GTK_MINOR_VERSION > 0)
88ac883a 48 #define NEW_GTK_SCROLL_CODE
38c7b3d3
RR
49#endif
50
bb0ca8df
VZ
51//-----------------------------------------------------------------------------
52// private functions
53//-----------------------------------------------------------------------------
54
88ac883a
VZ
55#if wxUSE_CHECKLISTBOX
56
bb0ca8df
VZ
57#define CHECKBOX_STRING "[-] "
58
59