X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3427bc784ec7dae7d3830e8f2c61565587e8f791..0a12e013f55022e684508316ad0079511e3b4fe7:/include/wx/renderer.h diff --git a/include/wx/renderer.h b/include/wx/renderer.h index c1b744ce61..6a0116d75a 100644 --- a/include/wx/renderer.h +++ b/include/wx/renderer.h @@ -200,6 +200,9 @@ public: // height if available, or a generic height based on the window's font. virtual int GetHeaderButtonHeight(wxWindow *win) = 0; + // Returns the margin on left and right sides of header button's label + virtual int GetHeaderButtonMargin(wxWindow *win) = 0; + // draw the expanded/collapsed icon for a tree control item virtual void DrawTreeItemButton(wxWindow *win, @@ -401,6 +404,9 @@ public: virtual int GetHeaderButtonHeight(wxWindow *win) { return m_rendererNative.GetHeaderButtonHeight(win); } + virtual int GetHeaderButtonMargin(wxWindow *win) + { return m_rendererNative.GetHeaderButtonMargin(win); } + virtual void DrawTreeItemButton(wxWindow *win, wxDC& dc, const wxRect& rect,