X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2352862a7ee8440fdc2ae65baff31b73e40179d5..cc3977bf132d40cb66c6b488890ef67a396d4a0a:/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)