]> git.saurik.com Git - wxWidgets.git/blame - include/wx/toolbar.h
Added RTTI macros to wxToolTip
[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$
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
8a0681f9 17#if wxUSE_TOOLBAR
7aa58644 18 #if !wxUSE_TOOLBAR_NATIVE || defined(__WXUNIVERSAL__)
8a0681f9 19 #include "wx/tbarsmpl.h"
7aa58644
VZ
20
21 class WXDLLEXPORT wxToolBar : public wxToolBarSimple
22 {
23 public:
24 wxToolBar() { }
25
26 wxToolBar(wxWindow *parent,
27 wxWindowID id,
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) { }
33
34 private:
35 DECLARE_DYNAMIC_CLASS(wxToolBar)
36 };
8a0681f9
VZ
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(__WXQT__)
47 #include "wx/qt/tbarqt.h"
48 #elif defined(__WXMAC__)
49 #include "wx/mac/toolbar.h"
50 #elif defined(__WXPM__)
51 #include "wx/os2/toolbar.h"
52 #elif defined(__WXSTUBS__)
53 #include "wx/stubs/toolbar.h"
54 #endif
55 #endif // !wxUSE_TOOLBAR_NATIVE/wxUSE_TOOLBAR_NATIVE
56#endif // wxUSE_TOOLBAR
c801d85f
KB
57
58#endif
6d167489 59 // _WX_TOOLBAR_H_BASE_