summaryrefslogtreecommitdiff
path: root/src/gui/fpg_panel.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fpg_panel.pas')
-rw-r--r--src/gui/fpg_panel.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/fpg_panel.pas b/src/gui/fpg_panel.pas
index 51987a62..9bba3b44 100644
--- a/src/gui/fpg_panel.pas
+++ b/src/gui/fpg_panel.pas
@@ -91,8 +91,6 @@ type
procedure SetLayout(const AValue: TLayout);
function GetText: string;
procedure SetText(const AValue: string);
- function GetFontDesc: string;
- procedure SetFontDesc(const AValue: string);
function GetLineSpace: integer;
procedure SetLineSpace(const AValue: integer);
function GetMargin: integer;
@@ -101,6 +99,8 @@ type
procedure SetWrapText(const AValue: boolean);
protected
FFont: TfpgFont;
+ function GetFontDesc: string; virtual;
+ procedure SetFontDesc(const AValue: string); virtual;
procedure HandlePaint; override;
public
constructor Create(AOwner: TComponent); override;