win32: remove unnecessary type cast check

git-svn-id: trunk@34108 -
This commit is contained in:
blikblum 2011-12-11 16:02:41 +00:00
parent 8c14ee2386
commit ee5256ca4a

View File

@ -1279,7 +1279,7 @@ begin
end
else if lWinControl is TCustomCombobox then
case HIWORD(WParam) of
CBN_DROPDOWN: (lWinControl as TCustomCombobox).IntfGetItems;
CBN_DROPDOWN: TCustomCombobox(lWinControl).IntfGetItems;
CBN_EDITCHANGE: LMessage.Msg := LM_CHANGED;
{ CBN_EDITCHANGE is only sent after the user changes the edit box.
CBN_SELCHANGE is sent when the user changes the text by