summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-11 08:36:06 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-10-11 08:36:06 +0200
commit5904b43982ee3ffd636a71c4538650ce9b49e264 (patch)
tree829321eb066c8b8fbc8d5b226f5bb266783fd5ca /src/gui
parentb37994496e9480610fc45f0035f125bb31bea6d3 (diff)
downloadfpGUI-5904b43982ee3ffd636a71c4538650ce9b49e264.tar.xz
Added a default parameter value for CreatePanel() function
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/fpg_panel.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/fpg_panel.pas b/src/gui/fpg_panel.pas
index 05915dcf..191dafc2 100644
--- a/src/gui/fpg_panel.pas
+++ b/src/gui/fpg_panel.pas
@@ -217,7 +217,7 @@ function CreateBevel(AOwner: TComponent; ALeft, ATop, AWidth, AHeight: TfpgCoord
AStyle: TPanelStyle): TfpgBevel;
function CreatePanel(AOwner: TComponent; ALeft, ATop, AWidth, AHeight: TfpgCoord; AText: string;
- AStyle: TPanelStyle; AALignment: TAlignment= taCenter; ALayout: TLayout= tlCenter;
+ AStyle: TPanelStyle = bsRaised; AALignment: TAlignment= taCenter; ALayout: TLayout= tlCenter;
AMargin: integer= 2; ALineSpace: integer= 2): TfpgPanel;
function CreateGroupBox(AOwner: TComponent; ALeft, ATop, AWidth, AHeight: TfpgCoord; AText: string;