X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..41286fd1def19641be3ae5bb9666c84a1c0b5525:/src/univ/scrarrow.cpp?ds=inline diff --git a/src/univ/scrarrow.cpp b/src/univ/scrarrow.cpp index c3db2abdf8..3bcf176b16 100644 --- a/src/univ/scrarrow.cpp +++ b/src/univ/scrarrow.cpp @@ -135,8 +135,8 @@ void wxScrollArrows::DrawArrow(Arrow arrow, }; void (wxRenderer::*pfn)(wxDC&, wxDirection, const wxRect&, int) = - scrollbarLike ? wxRenderer::DrawScrollbarArrow - : wxRenderer::DrawArrow; + scrollbarLike ? &wxRenderer::DrawScrollbarArrow + : &wxRenderer::DrawArrow; (m_control->GetRenderer()->*pfn) (