X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ef81ed9c797178d9868823097e272bfddc4c93..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/renderer.h diff --git a/include/wx/renderer.h b/include/wx/renderer.h index e450914bd4..f8c8c14d8a 100644 --- a/include/wx/renderer.h +++ b/include/wx/renderer.h @@ -154,6 +154,14 @@ public: wxOrientation orient, int flags = 0) = 0; + // draw a combobox dropdown button + // + // flags may only use wxCONTROL_PRESSED + virtual void DrawComboBoxDropButton(wxWindow *win, + wxDC& dc, + const wxRect& rect, + int flags = 0) = 0; + // geometry functions // ------------------ @@ -245,6 +253,12 @@ public: { m_rendererNative.DrawSplitterSash(win, dc, size, position, orient, flags); } + virtual void DrawComboBoxDropButton(wxWindow *win, + wxDC& dc, + const wxRect& rect, + int flags = 0) + { m_rendererNative.DrawComboBoxDropButton(win, dc, rect, flags); } + virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win) { return m_rendererNative.GetSplitterParams(win); }