mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 08:09:34 +02:00
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:
parent
91a6c071af
commit
57db736bb3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user