%# For consistency with the backwards compatible methods above, here are
%# some non-'Label' versions of the Check and Radio methods
+
def AddCheckTool(self, id, bitmap,
bmpDisabled = wx.NullBitmap,
shortHelp = '', longHelp = '',
+MustHaveApp(wxToolBar);
+
class wxToolBar : public wxToolBarBase {
public:
- %addtofunc wxToolBar "self._setOORInfo(self)"
- %addtofunc wxToolBar() ""
+ %pythonAppend wxToolBar "self._setOORInfo(self)"
+ %pythonAppend wxToolBar() ""
wxToolBar(wxWindow *parent,
- wxWindowID id,
+ wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxNO_BORDER | wxTB_HORIZONTAL,
%name(PreToolBar)wxToolBar();
bool Create(wxWindow *parent,
- wxWindowID id,
+ wxWindowID id=-1,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxNO_BORDER | wxTB_HORIZONTAL,
const wxString& name = wxPyToolBarNameStr);
wxToolBarToolBase *FindToolForPosition(wxCoord x, wxCoord y);
+
+ static wxVisualAttributes
+ GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};
//---------------------------------------------------------------------------