Qt,Qt5: do not send LM_MOVE from QLineEdit of QComboBox. issue #34880

git-svn-id: trunk@60249 -
This commit is contained in:
zeljko 2019-01-30 18:26:15 +00:00
parent d7e48acfb9
commit d66f084d39
2 changed files with 6 additions and 0 deletions

View File

@ -9782,6 +9782,9 @@ begin
CachedSelectionLen := -1;
end;
if (ChildOfComplexWidget = ccwComboBox) and (QEvent_type(Event) = QEventMove) then
exit;
if (ChildOfComplexWidget = ccwComboBox) and
((QEvent_type(Event) = QEventPaint) or (QEvent_type(Event) = QEventResize))
and (LCLObject.HandleAllocated) then

View File

@ -9705,6 +9705,9 @@ begin
CachedSelectionLen := -1;
end;
if (ChildOfComplexWidget = ccwComboBox) and (QEvent_type(Event) = QEventMove) then
exit;
if (ChildOfComplexWidget = ccwComboBox) and
((QEvent_type(Event) = QEventPaint) or (QEvent_type(Event) = QEventResize))
and (LCLObject.HandleAllocated) then