]> git.saurik.com Git - wxWidgets.git/blob - include/wx/toolbar.h
fixed maximization handling
[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 || defined(__WXUNIVERSAL__)
19 #include "wx/tbarsmpl.h"
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 };
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"
52 #endif
53 #endif // !wxUSE_TOOLBAR_NATIVE/wxUSE_TOOLBAR_NATIVE
54 #endif // wxUSE_TOOLBAR
55
56 #endif
57 // _WX_TOOLBAR_H_BASE_