mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 09:58:16 +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}
|
||||
WriteLn('[WinAPI EnableWindow] ');
|
||||
{$endif}
|
||||
Result := QWidget_isEnabled(TQtWidget(hWnd).Widget);
|
||||
|
||||
Result := TQtWidget(hwnd).getEnabled;
|
||||
TQtWidget(hWnd).setEnabled(bEnable);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user