Add wxButtonToolBar, but since it is currently only enabled for Mac

leave it #if'd out for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-04-15 05:15:56 +00:00
parent 2890ca155b
commit de871c916e

View File

@ -413,10 +413,40 @@ public:
long style = wxNO_BORDER | wxTB_HORIZONTAL,
const wxString& name = wxPyToolBarNameStr);
wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y);
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------
#if 0
%{
#include <wx/generic/buttonbar.h>
%}
MustHaveApp(wxToolBar);
class wxButtonToolBar : public wxToolBarBase
{
public:
%pythonAppend wxButtonToolBar "self._setOORInfo(self)"
%pythonAppend wxButtonToolBar() ""
wxButtonToolBar(wxWindow *parent,
wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyToolBarNameStr);
%RenameCtor(PreButtonToolBar, wxButtonToolBar());
bool Create(wxWindow *parent,
wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxPyToolBarNameStr);
};
#endif
//---------------------------------------------------------------------------