mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-25 03:19:15 +02:00
fix crash while creating PreviewFileControl
git-svn-id: trunk@13556 -
This commit is contained in:
parent
08bcabd139
commit
49f04ab86a
@ -312,7 +312,7 @@ uses
|
||||
// GtkWSDirSel,
|
||||
// GtkWSEditBtn,
|
||||
GtkWSExtCtrls,
|
||||
// GtkWSExtDlgs,
|
||||
GtkWSExtDlgs,
|
||||
// GtkWSFileCtrl,
|
||||
GtkWSForms,
|
||||
GtkWSGrids,
|
||||
|
@ -27,7 +27,14 @@ unit GtkWSExtDlgs;
|
||||
interface
|
||||
|
||||
uses
|
||||
ExtDlgs, WSExtDlgs, WSLCLClasses;
|
||||
{$IFDEF gtk2}
|
||||
glib2, gdk2pixbuf, gdk2, gtk2, Pango,
|
||||
{$ELSE}
|
||||
glib, gdk, gtk, gdkpixbuf, GtkFontCache,
|
||||
{$ENDIF}
|
||||
Classes, Controls, ExtDlgs, LCLType,
|
||||
WSExtDlgs, WSLCLClasses,
|
||||
GtkDef, GtkProc, GtkWsControls, GtkInt;
|
||||
|
||||
type
|
||||
|
||||
@ -38,7 +45,7 @@ type
|
||||
protected
|
||||
class procedure SetCallbacks(const AGtkWidget: PGtkWidget; const AWidgetInfo: PWidgetInfo); virtual;
|
||||
public
|
||||
class function CreateHandle(const AWinControl: TWinControl; const AParams: TCreateParams): TLCLIntfHandle; override;
|
||||
class function CreateHandle(const AWinControl: TWinControl; const AParams: TCreateParams): TLCLIntfHandle; override;
|
||||
end;
|
||||
|
||||
{ TGtkWSPreviewFileDialog }
|
||||
|
Loading…
Reference in New Issue
Block a user