X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5eefe029764003751db7998a92f0645765c6e6c7..8adefcac72cb54d203752ccb16010378589159f2:/src/gtk/renderer.cpp diff --git a/src/gtk/renderer.cpp b/src/gtk/renderer.cpp index 133f7af1cf..2c8c94ee1e 100644 --- a/src/gtk/renderer.cpp +++ b/src/gtk/renderer.cpp @@ -47,6 +47,7 @@ public: wxDC& dc, const wxRect& rect, int flags = 0, + wxHeaderSortIconType sortArrow = wxHDR_SORT_ICON_NONE, wxHeaderButtonParams* params = NULL); // draw the expanded/collapsed icon for a tree control item @@ -185,6 +186,7 @@ wxRendererGTK::DrawHeaderButton(wxWindow *win, wxDC& dc, const wxRect& rect, int flags, + wxHeaderSortIconType sortArrow, wxHeaderButtonParams* params) { @@ -208,7 +210,7 @@ wxRendererGTK::DrawHeaderButton(wxWindow *win, dc.LogicalToDeviceX(rect.x) - x_diff, rect.y, rect.width, rect.height ); - DrawHeaderButtonContents(win, dc, rect, flags, params); + DrawHeaderButtonContents(win, dc, rect, flags, sortArrow, params); } // draw a ">" or "v" button