Qt: small cleanup

git-svn-id: trunk@20930 -
This commit is contained in:
zeljko 2009-07-23 10:06:38 +00:00
parent cd41d7bb66
commit 6e76b2ff8a

View File

@ -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;