X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f33cef9fec16abad12ef95f293776d3926960ad3..8d0a7b563acf4bd7e75824ba2076a7ab4d81a650:/include/wx/renderer.h?ds=sidebyside diff --git a/include/wx/renderer.h b/include/wx/renderer.h index f8c8c14d8a..3f60878665 100644 --- a/include/wx/renderer.h +++ b/include/wx/renderer.h @@ -156,12 +156,19 @@ public: // draw a combobox dropdown button // - // flags may only use wxCONTROL_PRESSED + // flags may use wxCONTROL_PRESSED and wxCONTROL_CURRENT virtual void DrawComboBoxDropButton(wxWindow *win, wxDC& dc, const wxRect& rect, int flags = 0) = 0; + // draw a dropdown arrow + // + // flags may use wxCONTROL_PRESSED and wxCONTROL_CURRENT + virtual void DrawDropArrow(wxWindow *win, + wxDC& dc, + const wxRect& rect, + int flags = 0) = 0; // geometry functions // ------------------ @@ -259,6 +266,11 @@ public: int flags = 0) { m_rendererNative.DrawComboBoxDropButton(win, dc, rect, flags); } + virtual void DrawDropArrow(wxWindow *win, + wxDC& dc, + const wxRect& rect, + int flags = 0) + { m_rendererNative.DrawDropArrow(win, dc, rect, flags); } virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win) { return m_rendererNative.GetSplitterParams(win); }