You've already forked lazarus-ccr
RX: use access class to call protected methods, fix compilation due to lazarus r17564
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@611 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -180,6 +180,10 @@ function EditorTextMargins(Editor: TCustomMaskEdit): TPoint;
|
||||
implementation
|
||||
uses lclintf, LCLStrConsts, rxconst, rxstrutils, LResources, Forms;
|
||||
|
||||
type
|
||||
TPopupCalendarAccess = class(TPopupCalendar)
|
||||
end;
|
||||
|
||||
function EditorTextMargins(Editor: TCustomMaskEdit): TPoint;
|
||||
var
|
||||
DC: HDC;
|
||||
@@ -640,7 +644,7 @@ begin
|
||||
VK_ADD, VK_SUBTRACT]) and
|
||||
PopupVisible then
|
||||
begin
|
||||
FPopup.KeyDown(Key, Shift);
|
||||
TPopupCalendarAccess(FPopup).KeyDown(Key, Shift);
|
||||
Key := 0;
|
||||
end
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user