[PATCH] comctl32/static: Remove some misleading comments

Nikolay Sivov nsivov at codeweavers.com
Mon Apr 2 08:37:32 CDT 2018


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/comctl32/static.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/dlls/comctl32/static.c b/dlls/comctl32/static.c
index d9e2fe30dc..5cc02ced97 100644
--- a/dlls/comctl32/static.c
+++ b/dlls/comctl32/static.c
@@ -18,11 +18,6 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  *
  * Notes:
- *   - Windows XP introduced new behavior: The background of centered
- *     icons and bitmaps is painted differently. This is only done if
- *     a manifest is present.
- *     Because it has not yet been decided how to implement the two
- *     different modes in Wine, only the Windows XP mode is implemented.
  *   - Controls with SS_SIMPLE but without SS_NOPREFIX:
  *     The text should not be changed. Windows doesn't clear the
  *     client rectangle, so the new text must be larger than the old one.
@@ -701,7 +696,6 @@ static void STATIC_PaintBitmapfn(HWND hwnd, HDC hdc, DWORD style )
     HBITMAP hBitmap, oldbitmap;
     HBRUSH hbrush;
 
-    /* message is still sent, even if the returned brush is not used */
     hbrush = STATIC_SendWmCtlColorStatic(hwnd, hdc);
 
     if ((hBitmap = (HBITMAP)GetWindowLongPtrW( hwnd, HICON_GWL_OFFSET ))
-- 
2.16.2




More information about the wine-devel mailing list