]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/button.cpp
Reversed the meaning of black and white in wxRegion::ConvertToBitmap
[wxWidgets.git] / src / msw / button.cpp
index 98b2176f602297500919d6accafb71f53f57f823..7fcfa743d405fbc1f71d96ef249efe51339a25f6 100644 (file)
@@ -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);