mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 02:48:31 +02:00
EditBtn: remove obsolete properties TDateEdit.OKCaption and TDateEdit.CancelCaption (they pollute .po files). Issue #0030031.
git-svn-id: trunk@52760 -
This commit is contained in:
parent
48873222a4
commit
42fe1e0f32
@ -556,8 +556,6 @@ type
|
||||
FDroppedDown: Boolean;
|
||||
FOnAcceptDate: TAcceptDateEvent;
|
||||
FOnCustomDate: TCustomDateEvent;
|
||||
FOKCaption: TCaption;
|
||||
FCancelCaption: TCaption;
|
||||
FFixedDateFormat: string; //used when DateOrder <> doNone
|
||||
FFreeDateFormat: String; //used when DateOrder = doNone
|
||||
FDate: TDateTime;
|
||||
@ -589,8 +587,6 @@ type
|
||||
property CalendarDisplaySettings: TDisplaySettings read FDisplaySettings write FDisplaySettings;
|
||||
property OnAcceptDate: TAcceptDateEvent read FOnAcceptDAte write FOnAcceptDate;
|
||||
property OnCustomDate: TCustomDateEvent read FOnCustomDate write FOnCustomDate;
|
||||
property OKCaption: TCaption read FOKCaption write FOKCaption;
|
||||
property CancelCaption: TCaption read FCancelCaption write FCancelCaption;
|
||||
property ReadOnly;
|
||||
property DefaultToday: Boolean read FDefaultToday write FDefaultToday default False;
|
||||
Property DateOrder : TDateOrder Read FDateOrder Write SetDateOrder;
|
||||
@ -1608,8 +1604,6 @@ begin
|
||||
FUpdatingDate := False;
|
||||
FDefaultToday := False;
|
||||
FDisplaySettings := [dsShowHeadings, dsShowDayNames];
|
||||
OKCaption := 'OK';
|
||||
CancelCaption := 'Cancel';
|
||||
end;
|
||||
|
||||
|
||||
@ -2283,4 +2277,8 @@ begin
|
||||
TDateEdit,TTimeEdit,TCalcEdit]);
|
||||
end;
|
||||
|
||||
Initialization
|
||||
RegisterPropertyToSkip(TDateEdit, 'OKCaption', 'Property streamed in older Lazarus revision','');
|
||||
RegisterPropertyToSkip(TDateEdit, 'CancelCaption', 'Property streamed in older Lazarus revision','');
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user