Qt: qt under windows have different meaning about captured control than Windows.GetCapture itself.issue #20682

git-svn-id: trunk@33607 -
This commit is contained in:
zeljko 2011-11-18 08:04:42 +00:00
parent a4beb21c5f
commit ed4b99f903

View File

@ -2456,7 +2456,11 @@ begin
w := nil;
if (w = nil) and (QApplication_mouseButtons() > 0) then
w := QApplication_focusWidget();
w := QApplication_focusWidget()
else
if w <> QWidget_mouseGrabber then
w := QWidget_mouseGrabber;
{$ELSE}
w := QWidget_mouseGrabber();
{$ENDIF}