mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-09 06:38:15 +02:00
Qt: small cleanup
git-svn-id: trunk@20930 -
This commit is contained in:
parent
cd41d7bb66
commit
6e76b2ff8a
@ -1290,7 +1290,8 @@ begin
|
|||||||
{$ifdef VerboseQtWinAPI}
|
{$ifdef VerboseQtWinAPI}
|
||||||
WriteLn('[WinAPI EnableWindow] ');
|
WriteLn('[WinAPI EnableWindow] ');
|
||||||
{$endif}
|
{$endif}
|
||||||
Result := QWidget_isEnabled(TQtWidget(hWnd).Widget);
|
|
||||||
|
Result := TQtWidget(hwnd).getEnabled;
|
||||||
TQtWidget(hWnd).setEnabled(bEnable);
|
TQtWidget(hWnd).setEnabled(bEnable);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user