X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e5f49cbf82c40fe1c7cc9806be06f6c1aff42659..470402b9966ec0c9b0011193cb82bd6baa4a98c5:/include/wx/generic/buttonbar.h diff --git a/include/wx/generic/buttonbar.h b/include/wx/generic/buttonbar.h index 7d339e6eae..c0f319b5c9 100644 --- a/include/wx/generic/buttonbar.h +++ b/include/wx/generic/buttonbar.h @@ -90,6 +90,12 @@ protected: // receives button commands void OnCommand(wxCommandEvent& event); + // 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; @@ -101,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()