destructor TsCustomComboBoxEx.Destroy;
begin
if lBoxHandle <> 0 then begin
SetWindowLong(lBoxHandle, GWL_STYLE, GetWindowLong(lBoxHandle, GWL_STYLE) and not WS_THICKFRAME or WS_BORDER);
UninitializeACScroll(lBoxHandle, True, False, ListSW);
lBoxHandle := 0;
end;
if HandleAllocated then // Avoiding of error in standard destructor under DX10 (linked with changed Style in CreateWnd)
DestroyWindowHandle;
inherited; // <<<---- Cannot use resources after this.
FreeAndNil(FBoundLabel);
FreeAndNil(FCommonData);
end;