mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-18 14:59:15 +02:00
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:
parent
a4beb21c5f
commit
ed4b99f903
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user