X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2352862a7ee8440fdc2ae65baff31b73e40179d5..2028c33ab5a39a12bd410ac953731a56ad6377ba:/src/univ/button.cpp diff --git a/src/univ/button.cpp b/src/univ/button.cpp index 05f3c3373f..4d9a843084 100644 --- a/src/univ/button.cpp +++ b/src/univ/button.cpp @@ -213,7 +213,7 @@ void wxButton::DoDraw(wxControlRenderer *renderer) renderer->DrawButtonBorder(); } - renderer->DrawLabel(m_bitmap, m_marginBmpX, m_marginBmpY); + renderer->DrawButtonLabel(m_bitmap, m_marginBmpX, m_marginBmpY); } bool wxButton::DoDrawBackground(wxDC& dc)