void wxToolBar(wxFrame *frame, int x = 0, int y = 0, int width = -1, int height = -1, int style = 0, int orientation = wxVERTICAL, int nRowsOrColumns = 2)
Constructs a toolbar canvas, with the same arguments as a canvas plus an orientation (wxVERTICAL or wxHORIZONTAL) and the number of rows or columns, whose meaning depends on the orientation. If laid out vertically, the final argument refers to the number of rows to draw before the next column is started; if horizontal, it refers to the number of columns to draw before the next row is started.