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:
bart 2016-07-31 15:08:13 +00:00
parent 48873222a4
commit 42fe1e0f32

View File

@ -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.