LCL-GTK3: Prevent crash in SaveDialog creation. For some reason virtual class functions confused it.

(cherry picked from commit da5bd4801c)
This commit is contained in:
Juha 2021-11-06 02:48:15 +02:00 committed by Maxim Ganetsky
parent 91a6c071af
commit 57db736bb3

View File

@ -60,11 +60,11 @@ type
TGtk3WSOpenDialog = class(TWSOpenDialog)
protected
class function CreateOpenDialogFilter(OpenDialog: TOpenDialog;
Chooser: PGtkFileChooser): string; virtual;
Chooser: PGtkFileChooser): string;
class procedure CreateOpenDialogHistory(OpenDialog: TOpenDialog;
SelWidget: PGtkWidget); virtual;
SelWidget: PGtkWidget);
class procedure CreatePreviewDialogControl(PreviewDialog: TPreviewFileDialog;
Chooser: PGtkFileChooser); virtual;
Chooser: PGtkFileChooser);
published
class function CreateHandle(const ACommonDialog: TCommonDialog): THandle; override;
end;