LCL: gtk2: QuestionDlg: when too much text use default dialog, which has scrollable text

git-svn-id: branches/fixes_1_6@50575 -
This commit is contained in:
mattias 2015-12-02 15:00:21 +00:00
parent e7228468d7
commit e910733af6

View File

@ -975,6 +975,13 @@ var
begin
Result := mrNone;
ReleaseCapture;
if (Length(DialogMessage)>1000) then
begin
Result:=inherited;
exit;
end;
ADialogResult := mrCancel;
case DialogType of
idDialogWarning: GtkDialogType := GTK_MESSAGE_WARNING;