summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-07-11 14:10:18 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-07-11 14:10:18 +0000
commit19b0a576a9aa2d9fff2d8298499400290e19673a (patch)
treeab26bf85ee6fe530215c173d63a663a7ffde2d5d /src/gui
parent793c38fb64d14d4188234b5032c49c905ea8f399 (diff)
downloadfpGUI-19b0a576a9aa2d9fff2d8298499400290e19673a.tar.xz
Combo resize patch applied from Luiz Americo.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui_combobox.pas16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gui/gui_combobox.pas b/src/gui/gui_combobox.pas
index 4737ced2..e0dc5ea5 100644
--- a/src/gui/gui_combobox.pas
+++ b/src/gui/gui_combobox.pas
@@ -99,7 +99,6 @@ type
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
- procedure SetPosition(aleft, atop, awidth, aheight: TfpgCoord); override;
property Font: TfpgFont read FFont;
end;
@@ -120,7 +119,6 @@ type
procedure HandleLMouseDown(x, y: integer; shiftstate: TShiftState); override;
procedure HandleLMouseUp(x, y: integer; shiftstate: TShiftState); override;
procedure HandleMouseScroll(x, y: integer; shiftstate: TShiftState; delta: smallint); override;
- procedure HandleResize(awidth, aheight: TfpgCoord); override;
procedure HandlePaint; override;
property Text: string read GetText write SetText;
public
@@ -371,12 +369,6 @@ begin
inherited Destroy;
end;
-procedure TfpgBaseComboBox.SetPosition(aleft, atop, awidth, aheight: TfpgCoord);
-begin
- inherited SetPosition(aleft, atop, awidth, aheight);
- CalculateInternalButtonRect
-end;
-
{ TComboboxDropdownWindow }
procedure TComboboxDropdownWindow.SetFirstItem;
@@ -551,7 +543,6 @@ procedure TfpgBaseStaticCombo.SetWidth(const AValue: TfpgCoord);
begin
inherited SetWidth(AValue);
CalculateInternalButtonRect;
- RePaint;
end;
procedure TfpgBaseStaticCombo.HandleKeyPress(var keycode: word; var shiftstate: TShiftState; var consumed: boolean);
@@ -565,7 +556,6 @@ procedure TfpgBaseStaticCombo.SetHeight(const AValue: TfpgCoord);
begin
inherited SetHeight(AValue);
CalculateInternalButtonRect;
- RePaint;
end;
procedure TfpgBaseStaticCombo.HandleLMouseDown(x, y: integer; shiftstate: TShiftState);
@@ -609,12 +599,6 @@ begin
end;
end;
-procedure TfpgBaseStaticCombo.HandleResize(awidth, aheight: TfpgCoord);
-begin
- inherited HandleResize(awidth, aheight);
- CalculateInternalButtonRect;
-end;
-
procedure TfpgBaseStaticCombo.HandlePaint;
var
r: TfpgRect;