]> git.saurik.com Git - wxWidgets.git/blob - include/wx/toolbar.h
Added a param to ::Open() to allow the programmer to specify whether opening the...
[wxWidgets.git] / include / wx / toolbar.h
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$
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_TOOLBAR_H_BASE_
13 #define _WX_TOOLBAR_H_BASE_
14
15 #include "wx/tbarbase.h" // the base class for all toolbars
16
17 #if wxUSE_TOOLBAR
18 #if !wxUSE_TOOLBAR_NATIVE
19 // the wxToolBarSimple is *the* toolbar class in this case
20 #define wxToolBarSimple wxToolBar
21
22 #include "wx/tbarsmpl.h"
23 #else // wxUSE_TOOLBAR_NATIVE
24 #if defined(__WXMSW__) && defined(__WIN95__)
25 #include "wx/msw/tbar95.h"
26 #elif defined(__WXMSW__)
27 #include "wx/msw/tbarmsw.h"
28 #elif defined(__WXMOTIF__)
29 #include "wx/motif/toolbar.h"
30 #elif defined(__WXGTK__)
31 #include "wx/gtk/tbargtk.h"
32 #elif defined(__WXQT__)
33 #include "wx/qt/tbarqt.h"
34 #elif defined(__WXMAC__)
35 #include "wx/mac/toolbar.h"
36 #elif defined(__WXPM__)
37 #include "wx/os2/toolbar.h"
38 #elif defined(__WXSTUBS__)
39 #include "wx/stubs/toolbar.h"
40 #endif
41 #endif // !wxUSE_TOOLBAR_NATIVE/wxUSE_TOOLBAR_NATIVE
42 #endif // wxUSE_TOOLBAR
43
44 #endif
45 // _WX_TOOLBAR_H_BASE_