You've already forked lazarus-ccr
ExCtrl: Use InitializeWnd instead of CreateHandle
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -60,6 +60,7 @@ type
|
||||
const AXProportion, AYProportion: Double); override;
|
||||
class function GetControlClassDefaultSize: TSize; override;
|
||||
procedure GetItems; override;
|
||||
procedure InitializeWnd; override;
|
||||
procedure DrawItem(Index: Integer; ARect: TRect; State: TOwnerDrawState); override;
|
||||
procedure FontChanged(Sender: TObject); override;
|
||||
procedure SetItems(const Value: TStrings); override;
|
||||
@ -319,7 +320,7 @@ end;
|
||||
procedure TColumnComboBoxEx.GetItems;
|
||||
begin
|
||||
inherited GetItems;
|
||||
SetOffsets;
|
||||
// SetOffsets;
|
||||
end;
|
||||
|
||||
function TColumnComboBoxEx.GetTextSize(const aText: String): TSize;
|
||||
@ -345,6 +346,12 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TColumnComboBoxEx.InitializeWnd;
|
||||
begin
|
||||
inherited;
|
||||
SetOffsets;
|
||||
end;
|
||||
|
||||
procedure TColumnComboBoxEx.SetColSeparatorColor(AValue: TColor);
|
||||
begin
|
||||
if FColSeparatorColor <> AValue then
|
||||
|
Reference in New Issue
Block a user