Qt,Qt5: do not send LM_MOVE from QLineEdit of QComboBox. Issue #0034880

git-svn-id: branches/fixes_2_0@60286 -
This commit is contained in:
mattias 2019-02-02 18:43:49 +00:00
parent 16e1738cde
commit b74885843b
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