// paints a border
void OnPaint(wxPaintEvent& event);
+ // detects mouse clicks outside buttons
+ void OnLeftUp(wxMouseEvent& event);
+
private:
// have we calculated the positions of our tools?
bool m_needsLayout;
wxCoord m_maxWidth,
m_maxHeight;
+ // the height of a label
+ int m_labelHeight;
+
+ // the space above the label
+ int m_labelMargin;
+
private:
DECLARE_DYNAMIC_CLASS(wxButtonToolBar)
DECLARE_EVENT_TABLE()