win32: don't override all WN_NOTIFY results we set in the win32callback default handler

git-svn-id: trunk@18249 -
This commit is contained in:
paul 2009-01-11 07:07:46 +00:00
parent cc2e0fdf0e
commit d15d1c0630

View File

@ -345,9 +345,7 @@ begin
CN_NOTIFY:
with TLMessage(Message) do
if (Sender is TCustomTrackBar) then
Result := SendMessage(Handle, Msg, WParam, LParam)
else
Result := CallDefaultWindowProc(Handle, Msg, WParam, LParam);
Result := SendMessage(Handle, Msg, WParam, LParam);
else
if TLMessage(Message).Msg >= WM_USER then
with TLMessage(Message) do