Fixes issues with GroupBox

git-svn-id: trunk@23794 -
This commit is contained in:
sekelsenmat 2010-02-26 03:29:29 +00:00
parent 2c48944932
commit 0c7ac3484f

View File

@ -386,12 +386,10 @@ begin
case Msg of case Msg of
WM_ERASEBKGND, WM_NCPAINT, WM_PAINT, WM_CTLCOLORMSGBOX..WM_CTLCOLORSTATIC: WM_ERASEBKGND, WM_NCPAINT, WM_PAINT, WM_CTLCOLORMSGBOX..WM_CTLCOLORSTATIC:
begin begin
Result := CallDefaultWindowProc(Window, Msg, WParam, LParam); Result := WindowProc(Window, Msg, WParam, LParam);
// Result := WindowProc(Window, Msg, WParam, LParam);
end; end;
else else
Result := WindowProc(Window, Msg, WParam, LParam); Result := CallDefaultWindowProc(Window, Msg, WParam, LParam);
// Result := CallDefaultWindowProc(Window, Msg, WParam, LParam);
end; end;
end; end;