fix compile in lazarus svn version 18518
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@691 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
53ac16be22
commit
8e0524517b
@ -52,11 +52,9 @@ type
|
|||||||
property Enabled;
|
property Enabled;
|
||||||
property Caption;
|
property Caption;
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
|
||||||
property Font;
|
property Font;
|
||||||
//property Locked;
|
//property Locked;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
|
@ -110,7 +110,6 @@ type
|
|||||||
property BorderSpacing;
|
property BorderSpacing;
|
||||||
property CheckOnExit;
|
property CheckOnExit;
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
|
||||||
property DecimalPlaces;
|
property DecimalPlaces;
|
||||||
property DisplayFormat;
|
property DisplayFormat;
|
||||||
property DragCursor;
|
property DragCursor;
|
||||||
@ -134,7 +133,6 @@ type
|
|||||||
property MaxValue;
|
property MaxValue;
|
||||||
property MinValue;
|
property MinValue;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
|
@ -704,7 +704,6 @@ begin
|
|||||||
inherited Create(AOwner);
|
inherited Create(AOwner);
|
||||||
ControlStyle := [csCaptureMouse, csClickEvents, csDoubleClicks];
|
ControlStyle := [csCaptureMouse, csClickEvents, csDoubleClicks];
|
||||||
ControlStyle := ControlStyle + [csReplicatable];
|
ControlStyle := ControlStyle + [csReplicatable];
|
||||||
Ctl3D := False;
|
|
||||||
// Enabled := False;
|
// Enabled := False;
|
||||||
BorderStyle := bsNone;
|
BorderStyle := bsNone;
|
||||||
ParentColor := True;
|
ParentColor := True;
|
||||||
|
@ -68,7 +68,7 @@ type
|
|||||||
procedure ResetAlarm;
|
procedure ResetAlarm;
|
||||||
procedure CheckAlarm;
|
procedure CheckAlarm;
|
||||||
function FormatSettingsChange(var Message: TLMessage): Boolean;
|
function FormatSettingsChange(var Message: TLMessage): Boolean;
|
||||||
procedure CMCtl3DChanged(var Message: TLMessage); message CM_CTL3DCHANGED;
|
// procedure CMCtl3DChanged(var Message: TLMessage); message CM_CTL3DCHANGED;
|
||||||
procedure CMTextChanged(var Message: TLMessage); message CM_TEXTCHANGED;
|
procedure CMTextChanged(var Message: TLMessage); message CM_TEXTCHANGED;
|
||||||
procedure CMFontChanged(var Message: TLMessage); message CM_FONTCHANGED;
|
procedure CMFontChanged(var Message: TLMessage); message CM_FONTCHANGED;
|
||||||
{$IFDEF windows}
|
{$IFDEF windows}
|
||||||
@ -117,14 +117,12 @@ type
|
|||||||
property FullRepaint;
|
property FullRepaint;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
|
||||||
property Cursor;
|
property Cursor;
|
||||||
property DragMode;
|
property DragMode;
|
||||||
property DragCursor;
|
property DragCursor;
|
||||||
property Enabled;
|
property Enabled;
|
||||||
property Font;
|
property Font;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
@ -373,12 +371,13 @@ begin
|
|||||||
inherited DestroyWindowHandle;
|
inherited DestroyWindowHandle;
|
||||||
end;
|
end;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
procedure TRxClock.CMCtl3DChanged(var Message: TMessage);
|
procedure TRxClock.CMCtl3DChanged(var Message: TMessage);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
if ShowMode = scAnalog then Invalidate;
|
if ShowMode = scAnalog then Invalidate;
|
||||||
end;
|
end;
|
||||||
|
}
|
||||||
procedure TRxClock.CMTextChanged(var Message: TMessage);
|
procedure TRxClock.CMTextChanged(var Message: TMessage);
|
||||||
begin
|
begin
|
||||||
{ Skip this message, no repaint }
|
{ Skip this message, no repaint }
|
||||||
@ -673,7 +672,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
if MinDots then
|
if MinDots then
|
||||||
begin
|
begin
|
||||||
if Ctl3D then
|
// if Ctl3D then
|
||||||
begin
|
begin
|
||||||
Canvas.Brush.Color := clBtnShadow;
|
Canvas.Brush.Color := clBtnShadow;
|
||||||
OffsetRect(R, -1, -1);
|
OffsetRect(R, -1, -1);
|
||||||
@ -694,7 +693,7 @@ begin
|
|||||||
R.Right := R.Left + DotWidth;
|
R.Right := R.Left + DotWidth;
|
||||||
R.Bottom := R.Top + DotHeight;
|
R.Bottom := R.Top + DotHeight;
|
||||||
OffsetRect(R, -DotCenter.X, -DotCenter.Y);
|
OffsetRect(R, -DotCenter.X, -DotCenter.Y);
|
||||||
if Ctl3D and MinDots then
|
if {Ctl3D and} MinDots then
|
||||||
with Canvas do
|
with Canvas do
|
||||||
begin
|
begin
|
||||||
Brush.Color := FDotsColor;
|
Brush.Color := FDotsColor;
|
||||||
@ -703,7 +702,7 @@ begin
|
|||||||
RxFrame3D(Canvas, R, LightColor(FDotsColor), clWindowFrame, 1);
|
RxFrame3D(Canvas, R, LightColor(FDotsColor), clWindowFrame, 1);
|
||||||
end;
|
end;
|
||||||
Canvas.Brush.Color := Canvas.Pen.Color;
|
Canvas.Brush.Color := Canvas.Pen.Color;
|
||||||
if not (Ctl3D and MinDots) then Canvas.FillRect(R);
|
if not ({Ctl3D and} MinDots) then Canvas.FillRect(R);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
finally
|
finally
|
||||||
|
@ -43,7 +43,6 @@ type
|
|||||||
property Align;
|
property Align;
|
||||||
property BorderStyle;
|
property BorderStyle;
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
|
||||||
property DragCursor;
|
property DragCursor;
|
||||||
property DragMode;
|
property DragMode;
|
||||||
property Enabled;
|
property Enabled;
|
||||||
@ -67,7 +66,6 @@ type
|
|||||||
property Items;
|
property Items;
|
||||||
property MultiSelect;
|
property MultiSelect;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
@ -170,7 +168,7 @@ type
|
|||||||
procedure WMKillFocus(var Msg: TWMKillFocus); message WM_KILLFOCUS;
|
procedure WMKillFocus(var Msg: TWMKillFocus); message WM_KILLFOCUS;
|
||||||
procedure WMSetFocus(var Msg: TWMSetFocus); message WM_SETFOCUS;
|
procedure WMSetFocus(var Msg: TWMSetFocus); message WM_SETFOCUS;
|
||||||
{$IFDEF WIN32}
|
{$IFDEF WIN32}
|
||||||
procedure CMCtl3DChanged(var Message: TMessage); message CM_CTL3DCHANGED;
|
// procedure CMCtl3DChanged(var Message: TMessage); message CM_CTL3DCHANGED;
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
protected
|
protected
|
||||||
procedure CreateParams(var Params: TCreateParams); override;
|
procedure CreateParams(var Params: TCreateParams); override;
|
||||||
@ -315,7 +313,6 @@ type
|
|||||||
property BorderStyle;
|
property BorderStyle;
|
||||||
property Color;
|
property Color;
|
||||||
property Columns;
|
property Columns;
|
||||||
property Ctl3D;
|
|
||||||
property DragCursor;
|
property DragCursor;
|
||||||
property DragMode;
|
property DragMode;
|
||||||
property Enabled;
|
property Enabled;
|
||||||
@ -340,7 +337,6 @@ type
|
|||||||
property Items stored False;
|
property Items stored False;
|
||||||
property MultiSelect;
|
property MultiSelect;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
@ -621,10 +617,8 @@ type
|
|||||||
property DragCursor;
|
property DragCursor;
|
||||||
property DragMode;
|
property DragMode;
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
|
||||||
property Font;
|
property Font;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
|
@ -90,7 +90,6 @@ type
|
|||||||
property BorderSpacing;
|
property BorderSpacing;
|
||||||
property Style; { must be published before Items }
|
property Style; { must be published before Items }
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
|
||||||
property DataField;
|
property DataField;
|
||||||
property DataSource;
|
property DataSource;
|
||||||
property DragMode;
|
property DragMode;
|
||||||
@ -106,7 +105,6 @@ type
|
|||||||
property ItemWidth;
|
property ItemWidth;
|
||||||
property MaxLength default -1;
|
property MaxLength default -1;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
|
@ -249,7 +249,6 @@ type
|
|||||||
property ButtonOnlyWhenFocused;
|
property ButtonOnlyWhenFocused;
|
||||||
Property ButtonWidth;
|
Property ButtonWidth;
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
|
||||||
property DataField;
|
property DataField;
|
||||||
property DataSource;
|
property DataSource;
|
||||||
Property DirectInput;
|
Property DirectInput;
|
||||||
@ -282,7 +281,6 @@ type
|
|||||||
property OnStartDrag;
|
property OnStartDrag;
|
||||||
property OnGetGridCellProps;
|
property OnGetGridCellProps;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
@ -1278,7 +1276,6 @@ begin
|
|||||||
FEmptyItemColor:=clWindow;
|
FEmptyItemColor:=clWindow;
|
||||||
Glyph:=CreateArrowBitmap;
|
Glyph:=CreateArrowBitmap;
|
||||||
ButtonWidth:=15;
|
ButtonWidth:=15;
|
||||||
Ctl3D:=true;
|
|
||||||
TabStop:=true;
|
TabStop:=true;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
@ -131,7 +131,7 @@ type
|
|||||||
procedure CMExit(var Message: TLMExit); message CM_EXIT;
|
procedure CMExit(var Message: TLMExit); message CM_EXIT;
|
||||||
procedure WMPaste(var Message: TLMessage); message LM_PASTE;
|
procedure WMPaste(var Message: TLMessage); message LM_PASTE;
|
||||||
procedure WMCut(var Message: TLMessage); message LM_CUT;
|
procedure WMCut(var Message: TLMessage); message LM_CUT;
|
||||||
procedure CMCtl3DChanged(var Message: TLMessage); message CM_CTL3DCHANGED;
|
// procedure CMCtl3DChanged(var Message: TLMessage); message CM_CTL3DCHANGED;
|
||||||
procedure CMEnabledChanged(var Message: TLMessage); message CM_ENABLEDCHANGED;
|
procedure CMEnabledChanged(var Message: TLMessage); message CM_ENABLEDCHANGED;
|
||||||
procedure CMFontChanged(var Message: TLMessage); message CM_FONTCHANGED;
|
procedure CMFontChanged(var Message: TLMessage); message CM_FONTCHANGED;
|
||||||
procedure CheckButtonVisible;
|
procedure CheckButtonVisible;
|
||||||
@ -171,7 +171,7 @@ type
|
|||||||
property AutoSize;
|
property AutoSize;
|
||||||
property BorderStyle;
|
property BorderStyle;
|
||||||
property Color;
|
property Color;
|
||||||
property Ctl3D;
|
// property Ctl3D;
|
||||||
property DragCursor;
|
property DragCursor;
|
||||||
property DragMode;
|
property DragMode;
|
||||||
property Enabled;
|
property Enabled;
|
||||||
@ -185,7 +185,7 @@ type
|
|||||||
//{$ENDIF}
|
//{$ENDIF}
|
||||||
property MaxLength;
|
property MaxLength;
|
||||||
property ParentColor;
|
property ParentColor;
|
||||||
property ParentCtl3D;
|
// property ParentCtl3D;
|
||||||
property ParentFont;
|
property ParentFont;
|
||||||
property ParentShowHint;
|
property ParentShowHint;
|
||||||
property PopupMenu;
|
property PopupMenu;
|
||||||
@ -834,11 +834,11 @@ begin
|
|||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TRxSpinEdit.CMCtl3DChanged(var Message: TLMessage);
|
{procedure TRxSpinEdit.CMCtl3DChanged(var Message: TLMessage);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
ResizeButton;
|
ResizeButton;
|
||||||
end;
|
end;}
|
||||||
|
|
||||||
procedure TRxSpinEdit.CMEnabledChanged(var Message: TLMessage);
|
procedure TRxSpinEdit.CMEnabledChanged(var Message: TLMessage);
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user