X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c9a19aabab3a878b565e6c2a5f2a3824277c4dc..d0b50ad93942338301a318eda78f7d3999a93fab:/src/msw/button.cpp diff --git a/src/msw/button.cpp b/src/msw/button.cpp index 98b2176f60..7fcfa743d4 100644 --- a/src/msw/button.cpp +++ b/src/msw/button.cpp @@ -415,8 +415,7 @@ static void DrawButtonText(HDC hdc, COLORREF colOld = SetTextColor(hdc, col); int modeOld = SetBkMode(hdc, TRANSPARENT); - DrawText(hdc, text, text.length(), pRect, - DT_CENTER | DT_VCENTER | DT_SINGLELINE); + ::DrawText(hdc, text, text.length(), pRect, DT_CENTER | DT_VCENTER); SetBkMode(hdc, modeOld); SetTextColor(hdc, colOld);