]>
git.saurik.com Git - wxWidgets.git/blob - include/wx/toolbar.h
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxToolBar interface declaration
4 // Author: Vadim Zeitlin
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_TOOLBAR_H_BASE_
13 #define _WX_TOOLBAR_H_BASE_
15 #include "wx/tbarbase.h" // the base class for all toolbars
18 #if !wxUSE_TOOLBAR_NATIVE || defined(__WXUNIVERSAL__)
19 #include "wx/tbarsmpl.h"
21 class WXDLLEXPORT wxToolBar
: public wxToolBarSimple
26 wxToolBar(wxWindow
*parent
,
28 const wxPoint
& pos
= wxDefaultPosition
,
29 const wxSize
& size
= wxDefaultSize
,
30 long style
= wxNO_BORDER
| wxTB_HORIZONTAL
,
31 const wxString
& name
= wxToolBarNameStr
)
32 : wxToolBarSimple(parent
, id
, pos
, size
, style
, name
) { }
35 DECLARE_DYNAMIC_CLASS(wxToolBar
)
37 #else // wxUSE_TOOLBAR_NATIVE
38 #if defined(__WXMSW__) && defined(__WIN95__)
39 #include "wx/msw/tbar95.h"
40 #elif defined(__WXMSW__)
41 #include "wx/msw/tbarmsw.h"
42 #elif defined(__WXMOTIF__)
43 #include "wx/motif/toolbar.h"
44 #elif defined(__WXGTK__)
45 #include "wx/gtk/tbargtk.h"
46 #elif defined(__WXMAC__)
47 #include "wx/mac/toolbar.h"
48 #elif defined(__WXPM__)
49 #include "wx/os2/toolbar.h"
50 #elif defined(__WXSTUBS__)
51 #include "wx/stubs/toolbar.h"
53 #endif // !wxUSE_TOOLBAR_NATIVE/wxUSE_TOOLBAR_NATIVE
54 #endif // wxUSE_TOOLBAR
57 // _WX_TOOLBAR_H_BASE_