- Implement WM_ENABLE handler to update cached control style when the
commit1d2bdf5ab9a20cc729c39452160d02bd77ba678f
authorRobert Shearman <rob@codeweavers.com>
Fri, 17 Dec 2004 18:50:11 +0000 (17 18:50 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 17 Dec 2004 18:50:11 +0000 (17 18:50 +0000)
tree0f80a485e7768dfd41219b5998e0988f31732e25
parent99fda0a1de04f137ca7f07f9514cd7c269c03187
- Implement WM_ENABLE handler to update cached control style when the
  control is disabled.
- Move background drawing into WM_ERASEBKGND handler and draw the
  background differently when disabled.
- Change WM_PAINT handler to draw text with transparent background and
  with the correct colour for the style.
- Initialize selected field to -1 instead of 0 so that the control
  notices when field 0 is selected.
dlls/comctl32/datetime.c