X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2352862a7ee8440fdc2ae65baff31b73e40179d5..86ad5903b94d00e7c7625a705f6cd22301607ccd:/src/univ/button.cpp?ds=inline 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)