2
* This file is part of wxSmithAui plugin for Code::Blocks Studio
3
* Copyright (C) 2008-2009 César Fernández Domínguez
5
* wxSmithAui is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation; either version 3 of the License, or
8
* (at your option) any later version.
10
* wxSmithAui is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
15
* You should have received a copy of the GNU General Public License
16
* along with wxSmithAui. If not, see <http://www.gnu.org/licenses/>.
19
#ifndef WXSMITHAUITOOLBAR_H
20
#define WXSMITHAUITOOLBAR_H
24
#if wxCHECK_VERSION(2,8,9)
26
#include <wx/aui/auibar.h>
28
class wxSmithAuiToolBar : public wxAuiToolBar
31
wxSmithAuiToolBar(wxWindow* parent,wxWindowID id = -1,const wxPoint& position = wxDefaultPosition,const wxSize& size = wxDefaultSize,long style = wxAUI_TB_DEFAULT_STYLE);
32
virtual ~wxSmithAuiToolBar();
34
/// \brief wxAuiToolBar::HitTest don't work properly
35
int HitTest(const wxPoint& pt);
36
void AddSpacer(int pixels,wxWindowID SpacerId);
37
void AddStretchSpacer(int proportion,wxWindowID SpacerId);
42
#endif // wxCHECK_VERSION(2,8,9)
44
#endif // WXSMITHAUITOOLBAR_H