[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:01:33 UTC 2012
The following commit has been merged in the wheezy branch:
commit 3f9893823f6d32cfc519b26ed18a3e0b1dfa0283
Author: Owen Rudge <orudge at codeweavers.com>
Date: Thu Mar 8 11:34:28 2012 +0000
comctl32/datetime: Don't check box if no valid date set.
(cherry picked from commit 9147e7fd2246da9ec8e698f00458d429e90ab573)
diff --git a/dlls/comctl32/datetime.c b/dlls/comctl32/datetime.c
index d67e6e3..f29b2d2 100644
--- a/dlls/comctl32/datetime.c
+++ b/dlls/comctl32/datetime.c
@@ -1402,7 +1402,7 @@ DATETIME_StyleChanged(DATETIME_INFO *infoPtr, WPARAM wStyleType, const STYLESTRU
infoPtr->hwndCheckbut = CreateWindowExW (0, WC_BUTTONW, 0, WS_CHILD | WS_VISIBLE | BS_AUTOCHECKBOX,
2, 2, 13, 13, infoPtr->hwndSelf, 0,
(HINSTANCE)GetWindowLongPtrW (infoPtr->hwndSelf, GWLP_HINSTANCE), 0);
- SendMessageW (infoPtr->hwndCheckbut, BM_SETCHECK, 1, 0);
+ SendMessageW (infoPtr->hwndCheckbut, BM_SETCHECK, infoPtr->dateValid ? 1 : 0, 0);
}
if ( (lpss->styleOld & DTS_SHOWNONE) && !(lpss->styleNew & DTS_SHOWNONE) ) {
DestroyWindow(infoPtr->hwndCheckbut);
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list