]> git.saurik.com Git - wxWidgets.git/blame - include/wx/toolbar.h
added NZST and NZDT time zones (request 617912)
[wxWidgets.git] / include / wx / toolbar.h
CommitLineData
6d167489
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/toolbar.h
3// Purpose: wxToolBar interface declaration
4// Author: Vadim Zeitlin
5// Modified by:
6// Created: 20.11.99
7// RCS-ID: $Id$
99d80019 8// Copyright: (c) Vadim Zeitlin
65571936 9// Licence: wxWindows licence
6d167489
VZ
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_TOOLBAR_H_BASE_
13#define _WX_TOOLBAR_H_BASE_
14
f9dae779
VZ
15#include "wx/defs.h"
16
17// ----------------------------------------------------------------------------
18// wxToolBar style flags
19// ----------------------------------------------------------------------------
20
21enum
22{
23 // lay out the toolbar horizontally
24 wxTB_HORIZONTAL = wxHORIZONTAL, // == 0x0004
25
26 // lay out the toolbar vertically
27 wxTB_VERTICAL = wxVERTICAL, // == 0x0008
28
29 // show 3D buttons (wxToolBarSimple only)
30 wxTB_3DBUTTONS = 0x0010,
31
32 // "flat" buttons (Win32/GTK only)
33 wxTB_FLAT = 0x0020,
34
35 // dockable toolbar (GTK only)
36 wxTB_DOCKABLE = 0x0040,
37
38 // don't show the icons (they're shown by default)
39 wxTB_NOICONS = 0x0080,
40
41 // show the text (not shown by default)
42 wxTB_TEXT = 0x0100,
43
44 // don't show the divider between toolbar and the window (Win32 only)
45 wxTB_NODIVIDER = 0x0200,
46
47 // no automatic alignment (Win32 only, useless)
48 wxTB_NOALIGN = 0x0400,
49
50 // show the text and the icons alongside, not vertically stacked (Win32/GTK)
51 wxTB_HORZ_LAYOUT = 0x0800,
6a1b3ead
VZ
52 wxTB_HORZ_TEXT = wxTB_HORZ_LAYOUT | wxTB_TEXT,
53
54 // don't show the toolbar short help tooltips
5b2acc3a
RR
55 wxTB_NO_TOOLTIPS = 0x1000,
56
57 // lay out toolbar at the bottom of the window
58 wxTB_BOTTOM = 0x2000
f9dae779 59};
6d167489 60
8a0681f9 61#if wxUSE_TOOLBAR
f9dae779
VZ
62 #include "wx/tbarbase.h" // the base class for all toolbars
63
ac1f013c
JS
64 #if defined(__WXUNIVERSAL__)
65 #include "wx/univ/toolbar.h"
66 #elif defined(__WXPALMOS__)
67 #include "wx/palmos/toolbar.h"
68 #elif defined(__WXMSW__) && (!defined(_WIN32_WCE) || (_WIN32_WCE >= 400 && !defined(__POCKETPC__) && !defined(__SMARTPHONE__)))
69 #include "wx/msw/tbar95.h"
70 #elif defined(__WXWINCE__)
71 #include "wx/msw/wince/tbarwce.h"
ac1f013c
JS
72 #elif defined(__WXMOTIF__)
73 #include "wx/motif/toolbar.h"
1be7a35c 74 #elif defined(__WXGTK20__)
ac1f013c 75 #include "wx/gtk/tbargtk.h"
1be7a35c
MR
76 #elif defined(__WXGTK__)
77 #include "wx/gtk1/tbargtk.h"
ac1f013c
JS
78 #elif defined(__WXMAC__)
79 #include "wx/mac/toolbar.h"
80 #elif defined(__WXCOCOA__)
81 #include "wx/cocoa/toolbar.h"
82 #elif defined(__WXPM__)
83 #include "wx/os2/toolbar.h"
84 #endif
8a0681f9 85#endif // wxUSE_TOOLBAR
c801d85f
KB
86
87#endif
6d167489 88 // _WX_TOOLBAR_H_BASE_