X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77631b1d818c890391b7111a1e499f1317a9ea07..0be274189380d9de3c60836dab2fc080f21f88ee:/include/wx/generic/buttonbar.h diff --git a/include/wx/generic/buttonbar.h b/include/wx/generic/buttonbar.h index 96e83491a9..c0f319b5c9 100644 --- a/include/wx/generic/buttonbar.h +++ b/include/wx/generic/buttonbar.h @@ -93,6 +93,9 @@ protected: // 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; @@ -104,6 +107,12 @@ private: 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()