]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/renderer.h
Back to 'unsigned int' after reasearch of 'size_t' problems.
[wxWidgets.git] / include / wx / renderer.h
index f8c8c14d8a24a0ff26393f58b7a295bf05a2a106..3f6087866572592ddd0c7dca66086698497e2332 100644 (file)
@@ -156,12 +156,19 @@ public:
 
     // draw a combobox dropdown button
     //
 
     // 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;
 
     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
     // ------------------
 
     // geometry functions
     // ------------------
@@ -259,6 +266,11 @@ public:
                                         int flags = 0)
         { m_rendererNative.DrawComboBoxDropButton(win, dc, rect, flags); }
 
                                         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); }
 
     virtual wxSplitterRenderParams GetSplitterParams(const wxWindow *win)
         { return m_rendererNative.GetSplitterParams(win); }