]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/scrarrow.cpp
fixed stupid bug which prevented automatic encoding conversion
[wxWidgets.git] / src / univ / scrarrow.cpp
index c3db2abdf8298e1ea24ffd7b9bad1e0dc71498ad..3bcf176b16977ddd3f2eec5f4f31d7925024e688 100644 (file)
@@ -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)
     (